﻿<%@ Page Language="C#" MasterPageFile="~/car-insurance/Car_Insurance.master" AutoEventWireup="true"
    CodeFile="results.aspx.cs" Async="true" Inherits="Car_Insurance_results" EnableEventValidation="false"
    MaintainScrollPositionOnPostback="true" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/controls/usrMoreInfoDropdownButton.ascx" TagName="usrMoreInfoDropdownButton"
    TagPrefix="uc1" %>
<%@ Register Src="~/controls/usrNoJS.ascx" TagName="usrNoJS" TagPrefix="ucNoJS" %>
<%@ Register Src="~/controls/usrPhoneNo.ascx" TagName="usrPhoneNo" TagPrefix="uc1" %>
<%@ Register Src="~/controls/usrIdNumber.ascx" TagName="usrIdNumber" TagPrefix="uc2" %>
<%@ Register Src="~/controls/usrDate.ascx" TagName="usrDate" TagPrefix="uc3" %>
<asp:Content ID="Content2" ContentPlaceHolderID="cphhead" runat="Server">
    <!--Start of Zopim Live Chat Script-->

    <script type="text/javascript">
        window.$zopim || (function(d, s) {
            var z = $zopim = function(c) { z._.push(c) }, $ = z.s =
                d.createElement(s), e = d.getElementsByTagName(s)[0];
            z.set = function(o) { z.set._.push(o) }; z._ = []; z.set._ = []; $.async = !0; $.setAttribute('charset', 'utf-8');
            $.src = '//cdn.zopim.com/?raQeUzgqxE15NLv01VytrTKvtmoRZZpc'; z.t = +new Date; $.
                type = 'text/javascript'; e.parentNode.insertBefore($, e)
        })(document, 'script');
    </script>

    <!--End of Zopim Live Chat Script-->
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager" runat="server">
    </asp:ScriptManager>
    <link rel="stylesheet" type="text/css" href="../css/forms_results.css" />
    <link rel="stylesheet" type="text/css" href="../css/moreinfo.css" />
    <link rel="stylesheet" type="text/css" href="../css/callme.css" />

    <script type="text/javascript">
        var strprerow = "row0";
        var orgBgColor = "#ffffff";
        var arrRow;
        var arrGridRow;
        //var arrRow;
        function AddMoreInfoRows() {
            try {
                var table = document.getElementById('<%=gvCarResult.ClientID%>');
                var grdName = '<%=gvCarResult.ClientID%>';
                var rowCount = table.rows.length;
                //alert("AddMoreInfoRows");
                //alert(rowCount);                
                rowCount += 4;
                arrRow = new Array();
                arrGridRow = new Array();
                var curRowCount = 0;
                var newrowid = 0;
                for (var i = 0; i <= rowCount; i++) {
                    //rowCount += 1;
                    newrowid += 1;
                    var row = table.insertRow(newrowid + 1);
                    row.id = "NewRow" + newrowid.toString();
                    arrRow[curRowCount] = "NewRow" + newrowid.toString();

                    arrGridRow[curRowCount] = "#" + grdName + "_" + "GridRow" + (curRowCount + 1).toString();
                    //alert(arrGridRow[curRowCount].toString());
                    curRowCount++;
                    newrowid += 1;
                    //alert(row.id);
                    var rowCell = row.insertCell(0);
                    rowCell.colSpan = "12";
                    //var cellContent = document.createElement("input");
                    //cellContent.type = "text";
                    row.style.display = 'none';
                    rowCell.innerHTML = "";
                    //rowCell.appendChild(cellContent);
                }
            }
            catch (e) {
                //alert(e);
            }
        }

        function FadeOutAllMoreInfoRows(currentRowId) {
            try {
                for (var i = 0; i < arrRow.length; i++) {
                    if (arrRow[i] != null) {
                        if (arrRow[i] != currentRowId) {
                            $('#' + arrRow[i].toString()).fadeOut(2000);
                        }
                    }
                }
            }
            catch (e) {
            }

        }
        function FadeOutGridAll(currentRowId, currentGridRowId) {
            //$("span.two,span.four").fadeOut("normal");
            try {
                //alert("HideAllRow");
                //alert(arrRow.length.toString());
                //HideAllRow(currentRowId);
                //$(currentRowId).fadeOut(4000);

                FadeOutAllMoreInfoRows(currentRowId);
                for (var i = 0; i < arrGridRow.length; i++) {
                    if (arrGridRow[i] != null) {
                        if (currentGridRowId != arrGridRow[i].toString()) {
                            $(arrGridRow[i].toString()).fadeOut(3500);
                        }
                    }
                }
            }
            catch (e) {
                alert(e);
                return true;
            }
            return true;
        }

        function HideAllRow(currentRowId) {
            try {
                //alert("HideAllRow");
                //alert(arrRow.length.toString());
                for (var i = 0; i < arrRow.length; i++) {
                    if (arrRow[i] != null) {
                        //alert(arrRow[i].toString());
                        if (currentRowId != arrRow[i].toString())
                            HideCurrentRow(arrRow[i].toString());
                    }
                }
            }
            catch (e) {
                //alert(e);
            }
        }

        function HideCurrentRow(rowId) {

            var table = document.getElementById('<%=gvCarResult.ClientID%>');
            var curRow = document.getElementById(rowId);
            if (curRow) {
                //alert(curRow);
                if (curRow.style.display == '')
                    curRow.style.display = 'none';
            }

            return false;
        }

        function HideRowMoreInfo(rowIdsuffix) {

            var rowId = 'NewRow' + rowIdsuffix;

            var table = document.getElementById('<%=gvCarResult.ClientID%>');
            var curRow = document.getElementById(rowId);
            if (curRow) {
                //alert(curRow);
                if (curRow.style.display == '')
                    curRow.style.display = 'none';
            }

        }

        function ShowHideRow(rowId, rowText) {
            //alert(rowId);
            var table = document.getElementById('<%=gvCarResult.ClientID%>');
            var curRow = document.getElementById(rowId);
            //alert(curRow);
            if (curRow.style.display == '') {
                curRow.style.display = 'none';
            }
            else {
                var curCell = curRow.cells;
                curCell[0].innerHTML = rowText;
                curRow.style.display = '';
                //                curRow.style.height = '100%';
                //                curRow.style.overflow = 'hidden';
            }
            //alert("showhide");
            return false;
        }

        function AddRow(selectedRowId, rowText) {
            alert(tableID);
            alert(selectedRowId);
            alert(rowText);
            var curRow = document.getElementById(selectedRowId);
            var newRow = document.getElementById(selectedRowId + "Added");
            var curRowPos = current.rowIndex;
            alert(curRow);
            alert(curRowPos);
            if (newRow == null) {
                var table = document.getElementById(tableID);

                var rowCount = table.rows.length;
                var row = table.insertRow(curRowPos + 1);

                var rowCell = row.insertCell(0);
                rowCell.colSpan = "11";
                var cellContent = document.createElement("input");
                cellContent.type = "text";
                cellContent.innerHTML = rowText;
                rowCell.appendChild(cellContent);
            }
            else {
                if (newRow.style.display == '') {
                    newRow.style.display = 'none';
                }
                else {
                    newRow.style.display = '';
                }
            }
            return false;
        }

        function OpenUrl(url) {
            var winl = (screen.width - 800) / 2;
            var wint = (screen.height - 500) / 2;
            var settings = 'height=500,';
            settings += 'width=800,';
            settings += 'top=' + wint + ',';
            settings += 'left=' + winl + ',';
            settings += 'scrollbars=yes,';
            settings += 'resizable=No';
            window.open(url, 'NEWWIN', settings);
        }
        function OpenWorkshop(coid) {
            var winl = (screen.width - 840) / 2;
            var wint = (screen.height - 500) / 2;
            var settings = 'height=500,';
            settings += 'width=840,';
            settings += 'top=' + wint + ',';
            settings += 'left=' + winl + ',';
            settings += 'scrollbars=yes,';
            settings += 'resizable=No';
            window.open('ViewProviderWorkShop.aspx?comid=' + coid, 'NEWWIN', settings);
        }

        function removeSpaces(mystring) {
            mystring = mystring.toUpperCase();
            return mystring.split(' ').join('');
        }
    </script>

    <div class="elements_inner_wrapper">
        <ucNoJS:usrNoJS ID="usrNoJS1" runat="server" />
        <!-- #Include file="../includes/body_loader.inc" -->

        <script type="text/javascript">
            IncreaseProgress(50);
        </script>

        <div style="display: none;">
            IS OFFLINE REQUEST:
            <asp:Label runat="server" ID="lblOfflineRequestStatus" Text="0" />
            IS OFFLINE REQUEST:
            <asp:Label runat="server" ID="lblResultStatus" Text="0" />
        </div>
        <div id="divContent" style="display: none;">
            <div class="form_selection" id="divFormSelection" runat="server">
                <h3>
                    <asp:Label ID="lblProvider" runat="server"></asp:Label></h3>
                <div class="selection_wrap">
                    <span class="fs_lbl">Make\Model : </span>
                    <asp:Label ID="lblCarMakemodelTop" class="fs_lbl_m" runat="server" /><!--MERCEDES BENZ 190E</span>-->
                    <span class="fs_lbl_r">Year of Registration : </span>
                    <asp:Label ID="lblYrofRegisterTop" class="fs_lbl_m" runat="server" /><!--2009</span>-->
                    <span class="fs_lbl_r">Renewal NCD : </span>
                    <asp:Label ID="lblAppNCDvalueTop" class="fs_lbl_m" runat="server" /><!--10</span>-->
                    <span class="fs_lbl_r">Commencement Date : </span>
                    <asp:Label ID="lblCommencementdateTop" runat="server" /><!--18-October-2011</span>-->
                </div>
            </div>
            <div id="contentBody_full">
                <div style="text-align: left; display: block;" id="divCarMenu" runat="server">
                    <ul id="stp_menu">
                        <li class="stp1_r">
                            <asp:HyperLink ID="hplCarDetails" NavigateUrl="~/car-insurance/" runat="server"><span class="stp_r_g">Car Details</span></asp:HyperLink>
                        </li>
                        <li class="stp2_r">
                            <asp:HyperLink ID="hplProfile" NavigateUrl="#" runat="server"><span class="stp_r_g">Your Details</span></asp:HyperLink></li>
                        <li class="stp3_r">
                            <asp:HyperLink ID="hplCarResults" NavigateUrl="~/car-insurance/results.aspx" runat="server"><span class="active_r">Compare & Buy Now</span></asp:HyperLink></li>
                        <%--<li class="stp4"><a href="#"><span class="stp_r">Buy Direct</span></a></li>--%>
                    </ul>
                    <div class="seperator">
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <!-- CALL ME | Start  -->
                <a name="acallme"></a>
                <div id="callme" style="display: none">
                    <div class="container">
                        <div class="header">
                        </div>
                        <div class="heading">
                            <img src="/images/callme/heading_liberty.gif" id="imgCallMeCompanyLogo" width="483"
                                height="31" alt="Call Me" />
                        </div>
                        <div class="seperator">
                        </div>
                        <div class="body">
                            <div class="pad_22px">
                                <h1>
                                    Please confirm the details below:</h1>
                                <div class="seperator">
                                </div>
                                <div class="row">
                                    <asp:ValidationSummary ID="vsCallMe" runat="server" ValidationGroup="callme" ShowSummary="True"
                                        HeaderText="Oops... Please complete the highlighted field" CssClass="errorSummary" />
                                </div>
                                <div class="seperator">
                                </div>
                                <div class="w40p left">
                                    <div class="w90px left">
                                        Name:</div>
                                    <div class="blue left">
                                        <asp:TextBox runat="server" CssClass="blue" Font-Size="12px" ID="txtCallMeFullName"
                                            Width="206px" MaxLength="80" Text="Schahryar Fekri"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvCallMeFullName" runat="server" CssClass="validationErrorControl"
                                            ValidationGroup="callme" ErrorMessage="" Text="" ControlToValidate="txtCallMeFullName"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revCallMeFullName" runat="server" ValidationGroup="callme"
                                            ValidationExpression="^[a-zA-Z''-'\s]{1,80}$" CssClass="validationErrorControl"
                                            ControlToValidate="txtCallMeFullName" ErrorMessage=""></asp:RegularExpressionValidator>
                                    </div>
                                    <br />
                                    <div class="w90px left">
                                        Mobile:</div>
                                    <div class="blue left">
                                        <uc1:usrPhoneNo CssClass="blue" FontSize="12" ID="usrCallMePhoneNo" PhoneNo="999999999"
                                            IsEnabled="true" IsRequired="true" PhoneNoRequireErrorMessage="Require mobile number."
                                            PhoneNoErrorMessage="Mobile phone number should 8 digits." PhoneNoValidErrorMessage="Invalid mobile phone number."
                                            runat="server" ValidationGroup="callme" />
                                    </div>
                                    <br />
                                    <div class="w90px left">
                                        Call me at:</div>
                                    <div class="left">
                                        <asp:DropDownList CssClass="blue" Font-Size="12px" runat="server" ID="ddlCallMeTime">
                                            <asp:ListItem Value="-1" Text="Select" />
                                            <asp:ListItem Value="1" Text="Morning" />
                                            <asp:ListItem Value="2" Text="Afternoon" />
                                            <asp:ListItem Value="3" Text="Evening" />
                                            <asp:ListItem Value="4" Text="AnyTime" />
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="rfvCallMeTime" runat="server" CssClass="validationErrorControl"
                                            ValidationGroup="callme" ErrorMessage="" Text="" InitialValue="-1" ControlToValidate="ddlCallMeTime"></asp:RequiredFieldValidator>
                                    </div>
                                    <br />
                                    <div class="w90px left" id="divCallMeVehicleNolabel" style="display: none;" runat="server">
                                        Vehicle No</div>
                                    <div class="left" id="divCallMeVehicleNo" style="display: none;" runat="server">
                                        <asp:TextBox ID="txtCallMeVehicleNo" runat="server" MaxLength="10" Width="208" CssClass="blue"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvCallMeVehicleNo" runat="server" CssClass="validationErrorControl"
                                            ErrorMessage="" ValidationGroup="callme" ControlToValidate="txtCallMeVehicleNo"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revCallMeVehicleNo" runat="server" ValidationExpression="[a-zA-Z]{1,3}\d{2,4}[a-zA-Z]"
                                            ControlToValidate="txtCallMeVehicleNo" ValidationGroup="callme" Text="" ErrorMessage=""
                                            CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                                <div class="w50p right">
                                    <div class="w100px left">
                                        Make &amp; Model:</div>
                                    <div class="blue left">
                                        <input runat="server" id="inputCallMeMakeModel" type="hidden" />
                                        <asp:Label runat="server" ID="lblCallMeMakeModel" Text="Mercedes-Benz Gw200 - 2010"></asp:Label></div>
                                    <br />
                                    <div class="w100px left" id="divcallmeinsurer">
                                        Insurer:</div>
                                    <div class="blue left">
                                        <input runat="server" id="CompanyId" type="hidden" />
                                        <input runat="server" id="inputCallMeCompanyName" type="hidden" />
                                        <asp:Label runat="server" ID="lblCallMeCompanyName" /></div>
                                    <br />
                                </div>
                                <div class="seperator">
                                </div>
                                <div class="w190px">
                                    <div class="left">
                                        <asp:ImageButton runat="server" ID="ibtCallMeConfirm" OnClientClick="LoadValidationErrorCss();return SubmitConfirm();"
                                            ValidationGroup="callme" ImageUrl="~/images/callme/button_confirm.gif" AlternateText="Confirm"
                                            OnClick="ibtCallMeConfirm_Click" /></div>
                                    <!--<input type="image" src="/images/callme/button_confirm.gif" alt="Confirm" />-->
                                    <div class="right">
                                        <input type="image" onclick="ShowHideCallMe(false, '','', '', '', '', '','0');return false;"
                                            src="/images/callme/button_cancel.gif" alt="Cancel" /></div>
                                </div>
                                <div class="seperator">
                                </div>
                                <div class="w270px note">
                                    For non-product related enquiries, please <a href="http://www.comparexpress.com/contact/contactus.aspx"
                                        target="_parent">click here</a>.
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="seperator">
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <!-- CALL ME | End    -->
                <div class="section">
                    <fieldset>
                        <div class="form_subbox" id="divSummaryBox" runat="server" visible="false">
                            <div style="float: left; position: absolute; margin-left: 190px; width: 190px; height: 24px;
                                margin-top: 5px;">
                                <asp:Button ID="btnNewQuote" runat="server" OnClick="btnNewQuote_Click" CssClass="button_w_run-new-quotes" />
                                <%--  <asp:ImageButton ID="ibtRunNewQuote" AlternateText="Run New Quote" ImageUrl="~/images/buttons/run_quotes.gif"
                                    OnClick="ibtRunNewQuote_Click" runat="server" />--%>
                            </div>
                            <div class="trigger open">
                                <a href="#">Open</a></div>
                            <div id="divQuoteSummery">
                                <div class="divhalf">
                                    <div class="row3">
                                        <label for="name">
                                            Year of Manufacture</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblYrofManufacture" runat="server"></asp:Label>
                                            </span>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row3">
                                        <label for="name">
                                            Year of Registration</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblYrofRegister" runat="server"></asp:Label>
                                            </span>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row3">
                                        <label for="name">
                                            Car Make & Model</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblCarMakemodel" runat="server"></asp:Label>
                                            </span>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row3">
                                        <label for="name">
                                            Offpeak Vehicle?</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblOffpeakvehile" runat="server"></asp:Label>
                                            </span>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row3">
                                        <label for="name">
                                            Current/Existing NCD</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblNCDvalue" runat="server"></asp:Label>
                                            </span>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                </div>
                                <div class="divhalf">
                                    <div class="row3">
                                        <label for="name">
                                            Applicable/Renewal NCD</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblAppNCDvalue" runat="server"></asp:Label>
                                            </span>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row3">
                                        <label for="name">
                                            Any Claims in the Last 3 Years?</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblAnyclaim" runat="server"></asp:Label>
                                            </span>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row3">
                                        <label for="name">
                                            Offence-Free Driving/COM</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblOffenceDriving" runat="server"></asp:Label>
                                            </span>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row3">
                                        <label for="name">
                                            Add Additional Name Driver</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblAddDriver" runat="server"></asp:Label>
                                            </span>
                                            <div style="display: none;">
                                                <asp:TextBox ID="txtDriverCount" runat="server" Text="0"></asp:TextBox></div>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="row3">
                                        <label for="name">
                                            Cover Commencement Date</label>
                                        <div class="field">
                                            <span class="indicator">
                                                <asp:Label ID="lblCommencementdate" runat="server"></asp:Label>
                                            </span>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                    </fieldset>
                    <div class="seperator">
                    </div>
                    <div class="clear">
                    </div>
                    <div id="divUserRefDetail" runat="server">
                        <!-- CALL ME | Start  -->
                        <div id="divNoMatchFound" runat="server" visible="false">
                            <b>No matching online quotes.</b>
                            <p>
                                <asp:Label runat="server" ID="lblNoMatchText" Text="No matching online quotes." Visible="false"></asp:Label>
                                <br />
                                Want an offline quote (in 1-2 business days)? Please <a href="#" onclick="ShowVehicle()">
                                    Click Here</a>.
                            </p>
                            <div class="seperator">
                            </div>
                            <br />
                            <div id="divOfflineVehicle" style="display: none;">
                                Enter your Vehicle Number to proceed:
                                <asp:TextBox ID="txtOfflineVehicleNum" runat="server" MaxLength="10" Width="150"
                                    CssClass="blue"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" CssClass="validationErrorControl"
                                    ErrorMessage="" ValidationGroup="offlinevehicle" ControlToValidate="txtOfflineVehicleNum"
                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ValidationExpression="[a-zA-Z]{1,3}\d{2,4}[a-zA-Z]"
                                    ControlToValidate="txtOfflineVehicleNum" ValidationGroup="OfflineVehicle" Text=""
                                    ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                <div class="button2" style="padding: 10px; background: #ededed; text-align: right;">
                                    <asp:Button ID="btnOfflineVehicleNum" runat="server" Text="" ValidationGroup="offlinevehicle"
                                        OnClick="btnOfflineVehicleNum_Click" CssClass="button_proceed" OnClientClick="if (Page_ClientValidate('offlinevehicle')){this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className = 'button_processing'; return true;} return false;" />
                                </div>
                            </div>
                            <br />
                            <br />
                            <br />
                            <div class="seperator">
                            </div>
                            <div class="seperator">
                                <%--   <asp:HyperLink runat="server" ID="HyperLink1" Font-Bold="true" Font-Size="Large"
                                    Text="" NavigateUrl="~/car-insurance/results.aspx?offline=1"><img alt="" src="/images/banners/banner-offline-quote.png" />
                                </asp:HyperLink>
                                <br />
                                <br />
                                <br />
                                <br />
                                <asp:ImageButton ID="imgbtnBack" runat="server" ImageUrl="~/images/buttons/form_back_but.gif"
                                    OnClick="imgbtnBack_Click" onmouseover="this.src='/images/buttons/form_back_but_o.gif';"
                                    onmouseout="this.src='/images/buttons/form_back_but.gif';" />
                                <div class="seperator">
                                </div>--%>
                            </div>
                            <div class="button2" style="padding: 10px; background: #ededed; display: none;">
                                <asp:Button runat="server" ID="imgbtnBack" Visible="true" onmousedown="this.className = 'button_back_mousedown';"
                                    onmouseout="this.className = 'button_back';" onmouseup="this.className = 'button_back';"
                                    CssClass="button_back" CausesValidation="false" OnClientClick="this.removeAttribute('onmouseout');this.removeAttribute('onmouseup'); this.className = 'button_processing';"
                                    OnClick="imgbtnBack_Click" />
                            </div>
                        </div>
                        <div id="divNoInstantMatchFound" runat="server" visible="false">
                            <a name="acallme"></a>
                            <div id="callme">
                                <div class="container">
                                    <fieldset class="formouter">
                                        <div class="offline_info">
                                            Commence. Date:
                                            <asp:Label ID="lblCommencementDateOffline" runat="server" CssClass="blk_lbl p10r"></asp:Label>
                                            <label class="blk_lbl p10r">
                                                |</label>
                                            Current Insurer:e
                                            <asp:Label ID="lblCurrentInsurer" runat="server" CssClass="blk_lbl"></asp:Label>
                                        </div>
                                        <div class="header">
                                            <img src="/images/callme/request_compare-market.gif" width="280" height="31" alt="Offline Quotes" />
                                        </div>
                                        <div class="seperator">
                                        </div>
                                        <div class="body">
                                            <p>
                                                Engage an insurance broker to find you the best deal by completing the below.
                                                <br />
                                                <b>Please allow 1-2 working days for the broker team to search the market for competitive
                                                    quotes.</b>
                                            </p>
                                            <table cellpadding="0" cellspacing="0" border="0">
                                                <tr>
                                                    <td width="520">
                                                        <div id="divValidationSummary">
                                                            <div>
                                                                <asp:ValidationSummary ID="vsproposal" runat="server" ValidationGroup="carrefuser"
                                                                    ShowSummary="True" HeaderText="Oops... Please complete the highlighted field"
                                                                    CssClass="errorSummary" />
                                                            </div>
                                                        </div>
                                                        <asp:Label ID="lblRMessage" runat="server" Visible="false"></asp:Label>
                                                        <div class="row_border_half">
                                                            <div class="w200px left">
                                                                Full Name:</div>
                                                            <div class="blue left">
                                                                <asp:TextBox ID="txtFullName" Width="208" MaxLength="80" runat="server"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvFullName" runat="server" CssClass="validationErrorControl"
                                                                    ValidationGroup="carrefuser" ErrorMessage="" Text="" ControlToValidate="txtFullName"></asp:RequiredFieldValidator>
                                                                <asp:RegularExpressionValidator ID="revFullName" runat="server" ValidationGroup="carrefuser"
                                                                    ValidationExpression="^[a-zA-Z''-'\s]{1,80}$" CssClass="validationErrorControl"
                                                                    ControlToValidate="txtFullName" ErrorMessage=""></asp:RegularExpressionValidator>
                                                            </div>
                                                            <div class="clear">
                                                            </div>
                                                        </div>
                                                        <div class="row_border_half">
                                                            <div class="w200px left">
                                                                NRIC:</div>
                                                            <div class="blue left">
                                                                <uc2:usrIdNumber ID="ddlIdNumber" runat="server" ValidationGroup="carrefuser" />
                                                            </div>
                                                            <div class="clear">
                                                            </div>
                                                        </div>
                                                        <div class="row_border_half">
                                                            <div class="w200px left">
                                                                Vehicle Number:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtVehicleNo" runat="server" MaxLength="10" Width="208"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvVehicleNo" runat="server" CssClass="validationErrorControl"
                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtVehicleNo"
                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                <asp:RegularExpressionValidator ID="revVehicleNo" runat="server" ValidationExpression="[a-zA-Z]{1,3}\d{2,4}[a-zA-Z]"
                                                                    ControlToValidate="txtVehicleNo" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                    CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                <%--<asp:CustomValidator ID="csvVehicleNo" runat="server" OnServerValidate="CheckVehicleNumber"
                                                        ControlToValidate="txtVehicleNo" ValidationGroup="carrefuser" Text="" ErrorMessage="Vehicle number is wrong."
                                                        CssClass="validationErrorControl"></asp:CustomValidator>--%>
                                                            </div>
                                                            <div class="clear">
                                                            </div>
                                                        </div>
                                                        <div class="row_border_half">
                                                            <div class="w200px left">
                                                                Driving License Pass Date:</div>
                                                            <div class="left">
                                                                <uc3:usrDate ID="usrDrivingLicenseDate" runat="server" ValidationGroup="carrefuser"
                                                                    IsAllowGreaterThanToday="false" />
                                                            </div>
                                                            <div class="clear">
                                                            </div>
                                                        </div>
                                                        <div class="row_border_half">
                                                            <div class="w200px left">
                                                                Mobile Number:</div>
                                                            <div class="left">
                                                                <uc1:usrPhoneNo ID="txtMobileNo" IsEnabled="true" IsRequired="true" PhoneNoRequireErrorMessage="Require mobile number."
                                                                    PhoneNoErrorMessage="Mobile phone number should 8 digits." PhoneNoValidErrorMessage="Invalid mobile phone number."
                                                                    runat="server" ValidationGroup="carrefuser" />
                                                            </div>
                                                            <div class="clear">
                                                            </div>
                                                        </div>
                                                        <div class="row_border_half" style="display: none;">
                                                            <div class="w200px left">
                                                                :</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtEmail" runat="server" Width="250" MaxLength="100"></asp:TextBox>
                                                            </div>
                                                            <div class="clear">
                                                            </div>
                                                        </div>
                                                        <div class="row_border_half">
                                                            <div class="w200px left">
                                                                Cover Type:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlNoMatchCoverType" runat="server" onclick="CheckComprehensive()">
                                                                </asp:DropDownList>
                                                                <asp:Label ID="lblComprehensiveDetails" runat="server" Text=""></asp:Label>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvNoMatchCoverType"
                                                                    runat="server" ControlToValidate="ddlNoMatchCoverType" ErrorMessage="" InitialValue="-1"
                                                                    ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                <div id="divCompre" style="display: none;">
                                                                    <asp:DropDownList ID="ddlComprehensiveDetails" Width="209px" runat="server">
                                                                        <asp:ListItem Value="-1">Select</asp:ListItem>
                                                                        <asp:ListItem Value="No preference">No preference</asp:ListItem>
                                                                        <asp:ListItem Value="Insurer's Panel/Authorized Workshops">Insurer's Panel/Authorized Workshops</asp:ListItem>
                                                                        <asp:ListItem Value="Any Workshops">Any Workshops</asp:ListItem>
                                                                        <asp:ListItem Value="Manufacturer Workshops (car still under warranty)">Manufacturer Workshops (car still under warranty)</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvComprehensive"
                                                                        runat="server" ControlToValidate="ddlComprehensiveDetails" ErrorMessage="" InitialValue="-1"
                                                                        ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator></div>
                                                            </div>
                                                            <div class="clear">
                                                            </div>
                                                        </div>
                                                        <div class="row_border_half">
                                                            <div class="w200px left">
                                                                Renewal quote received ($):</div>
                                                            <div class="left">
                                                                <asp:TextBox runat="server" ID="txtRenewalQuoteReceived" Width="207px" onchange="CheckRenewalQuoteValidationCss()"
                                                                    MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvRenewalQuote" runat="server" CssClass="validationErrorControl"
                                                                    ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtRenewalQuoteReceived"
                                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                                <asp:RegularExpressionValidator ID="revRenewalQuote" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                    ControlToValidate="txtRenewalQuoteReceived" ValidationGroup="carrefuser" Text=""
                                                                    ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                <asp:CustomValidator ID="cvRenewalQuote" runat="server" ValidationGroup="carrefuser"
                                                                    CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckRenewalQuote"
                                                                    OnServerValidate="CheckRenewalQuote" ControlToValidate="txtRenewalQuoteReceived"></asp:CustomValidator>
                                                            </div>
                                                            <div class="clear">
                                                            </div>
                                                        </div>
                                                        <div class="row_border_half" style="display: none">
                                                            <div class="w270px left">
                                                                Most important to you:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlImportant" Width="200px" runat="server">
                                                                    <asp:ListItem Value="Low Premium">Low Premium</asp:ListItem>
                                                                    <asp:ListItem Value="Low Excess">Low Excess</asp:ListItem>
                                                                    <asp:ListItem Value="Zero Excess">Zero Excess</asp:ListItem>
                                                                    <asp:ListItem Value="Protect my NCD in an event of claim">Protect my NCD in an event of claim</asp:ListItem>
                                                                    <asp:ListItem Value="Loss of Use (Replacement Car) Benefit">Loss of Use (Replacement Car) Benefit</asp:ListItem>
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="RequiredFieldValidator2"
                                                                    runat="server" ControlToValidate="ddlImportant" ErrorMessage="" InitialValue="-1"
                                                                    ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator></div>
                                                            <div class="clear">
                                                            </div>
                                                        </div>
                                                        <asp:Panel ID="pnlClaims" runat="server" Visible="false">
                                                            <asp:Panel runat="server" ID="pnlClaimLast3" Visible="false">
                                                                <div class="row_border_half_full">
                                                                    <div class="w200px left">
                                                                        No. of Claims: (<asp:Label ID="lblLastYear" runat="server" Text="" CssClass="blacklbl"></asp:Label>)</div>
                                                                    <div class="left">
                                                                        <asp:DropDownList ID="ddlNoOfClaim3" runat="server" Enabled="false">
                                                                            <asp:ListItem Value="-1" Selected="True">Select</asp:ListItem>
                                                                            <asp:ListItem>1</asp:ListItem>
                                                                            <asp:ListItem>2</asp:ListItem>
                                                                            <asp:ListItem>3</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                        <asp:RequiredFieldValidator ID="rfvNoOfClaim3" runat="server" CssClass="validationErrorControl"
                                                                            ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="ddlNoOfClaim3"
                                                                            InitialValue="-1" Display="Dynamic"></asp:RequiredFieldValidator>
                                                                        &nbsp; S$<asp:Label runat="server" ID="lblLast3ClaimValue" Text="0"></asp:Label>
                                                                    </div>
                                                                    <br />
                                                                    <div class="w270px left">
                                                                        <asp:Label runat="server" ID="lblbreakdown3" Text="Please breakdown claim to:" CssClass="blacklbl"></asp:Label>
                                                                    </div>
                                                                    <div class="left">
                                                                        <div id="divClaimLast3" runat="server">
                                                                            <table>
                                                                                <tr>
                                                                                    <td>
                                                                                        <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast3Claim1">
                                                                                            <tr>
                                                                                                <td colspan="2">
                                                                                                    Claim Value 1 ($)
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Not At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast3NAF1" Width="60px" onchange="CheckLast3Claim1ValidationCss(); "
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast3NAF1" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3NAF1"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast3NAF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast3NAF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast3NAF1" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim1"
                                                                                                        OnServerValidate="CheckLast3Claim1" ControlToValidate="txtClaimLast3NAF1">
                                                                                                    </asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast3AF1" Width="60px" onchange="CheckLast3Claim1ValidationCss();"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast3AF1" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3AF1"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast3AF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast3AF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast3AF1" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim1"
                                                                                                        OnServerValidate="CheckLast3Claim1" ControlToValidate="txtClaimLast3AF1">
                                                                                                    </asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Windscreen
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast3Windscreen1" onchange="CheckLast3Claim1ValidationCss();"
                                                                                                        MaxLength="8" Text="0" Width="60px" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast3Windscreen1" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3Windscreen1"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast3Windscreen1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast3Windscreen1" ValidationGroup="carrefuser" Text=""
                                                                                                        ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast3Windscreen1" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim1"
                                                                                                        OnServerValidate="CheckLast3Claim1" ControlToValidate="txtClaimLast3Windscreen1">
                                                                                                    </asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Accident Date
                                                                                                </td>
                                                                                                <td>
                                                                                                    <uc3:usrDate ID="usrClaimLast3AccidentDate1" runat="server" ValidationGroup="carrefuser" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                    <td>
                                                                                        <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast3Claim2">
                                                                                            <tr>
                                                                                                <td colspan="2">
                                                                                                    Claim Value 2 ($)
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Not At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast3NAF2" Width="60px" onchange="CheckLast3Claim2ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast3NAF2" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3NAF2"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast3NAF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast3NAF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast3NAF2" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim2"
                                                                                                        OnServerValidate="CheckLast3Claim2" ControlToValidate="txtClaimLast3NAF2"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast3AF2" Width="60px" onchange="CheckLast3Claim2ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast3AF2" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3AF2"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast3AF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast3AF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast3AF2" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim2"
                                                                                                        OnServerValidate="CheckLast3Claim2" ControlToValidate="txtClaimLast3AF2"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Windscreen
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast3Windscreen2" Width="60px" onchange="CheckLast3Claim2ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast3Windscreen2" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3Windscreen2"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast3Windscreen2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast3Windscreen2" ValidationGroup="carrefuser" Text=""
                                                                                                        ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast3Windscreen2" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim2"
                                                                                                        OnServerValidate="CheckLast3Claim2" ControlToValidate="txtClaimLast3Windscreen2"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Accident Date
                                                                                                </td>
                                                                                                <td>
                                                                                                    <uc3:usrDate ID="usrClaimLast3AccidentDate2" runat="server" ValidationGroup="carrefuser" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                    <td>
                                                                                        <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast3Claim3">
                                                                                            <tr>
                                                                                                <td colspan="2">
                                                                                                    Claim Value 3 ($)
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Not At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast3NAF3" Width="60px" onchange="CheckLast3Claim3ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast3NAF3" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3NAF3"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast3NAF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast3NAF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast3NAF3" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim3"
                                                                                                        OnServerValidate="CheckLast3Claim3" ControlToValidate="txtClaimLast3NAF3"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast3AF3" Width="60px" onchange="CheckLast3Claim3ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast3AF3" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3AF3"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast3AF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast3AF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast3AF3" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim3"
                                                                                                        OnServerValidate="CheckLast3Claim3" ControlToValidate="txtClaimLast3AF3"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Windscreen
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast3Windscreen3" Width="60px" onchange="CheckLast3Claim3ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast3Windscreen3" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast3Windscreen3"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast3Windscreen3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast3Windscreen3" ValidationGroup="carrefuser" Text=""
                                                                                                        ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast3Windscreen3" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast3Claim3"
                                                                                                        OnServerValidate="CheckLast3Claim3" ControlToValidate="txtClaimLast3Windscreen3"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Accident Date
                                                                                                </td>
                                                                                                <td>
                                                                                                    <uc3:usrDate ID="usrClaimLast3AccidentDate3" runat="server" ValidationGroup="carrefuser" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </div>
                                                                    <div class="clear">
                                                                    </div>
                                                                </div>
                                                            </asp:Panel>
                                                            <div style="height: 218px;" id="divpnlClaimLast2margin" runat="server" visible="false">
                                                                divpnlClaimLast2margin</div>
                                                            <div class="clear">
                                                            </div>
                                                            <asp:Panel runat="server" ID="pnlClaimLast2" Visible="false">
                                                                <div class="row_border_half_full">
                                                                    <div class="w270px left">
                                                                        No. of Claims: (<asp:Label ID="lblLastTwoYear" runat="server" Text="" CssClass="blacklbl"></asp:Label>)</div>
                                                                    <div class="left">
                                                                        <asp:DropDownList ID="ddlNoOfClaim2" runat="server" Enabled="false">
                                                                            <asp:ListItem Value="-1" Selected="True">Select</asp:ListItem>
                                                                            <asp:ListItem>1</asp:ListItem>
                                                                            <asp:ListItem>2</asp:ListItem>
                                                                            <asp:ListItem>3</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                        <asp:RequiredFieldValidator ID="rfvNoOfClaim2" runat="server" CssClass="validationErrorControl"
                                                                            ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="ddlNoOfClaim2"
                                                                            InitialValue="-1" Display="Dynamic"></asp:RequiredFieldValidator>
                                                                        &nbsp; S$<asp:Label runat="server" ID="lblLast2ClaimValue" Text="0"></asp:Label>
                                                                    </div>
                                                                    <br />
                                                                    <div class="w270px left">
                                                                        <asp:Label runat="server" ID="lblbreakdown2" Text="Please breakdown claim to:" CssClass="blacklbl"></asp:Label></div>
                                                                    <div class="left">
                                                                        <div id="divClaimLast2" runat="server">
                                                                            <table>
                                                                                <tr>
                                                                                    <td>
                                                                                        <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast2Claim1">
                                                                                            <tr>
                                                                                                <td colspan="2">
                                                                                                    Claim Value 1 ($)
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Not At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast2NAF1" Width="60px" onchange="CheckLast2Claim1ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast2NAF1" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2NAF1"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast2NAF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast2NAF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast2NAF1" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim1"
                                                                                                        OnServerValidate="CheckLast2Claim1" ControlToValidate="txtClaimLast2NAF1"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast2AF1" Width="60px" onchange="CheckLast2Claim1ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast2AF1" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2AF1"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast2AF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast2AF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast2AF1" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim1"
                                                                                                        OnServerValidate="CheckLast2Claim1" ControlToValidate="txtClaimLast2AF1"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Windscreen
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast2Windscreen1" Width="60px" onchange="CheckLast2Claim1ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast2Windscreen1" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2Windscreen1"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast2Windscreen1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast2Windscreen1" ValidationGroup="carrefuser" Text=""
                                                                                                        ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast2Windscreen1" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim1"
                                                                                                        OnServerValidate="CheckLast2Claim1" ControlToValidate="txtClaimLast2Windscreen1"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Accident Date
                                                                                                </td>
                                                                                                <td>
                                                                                                    <uc3:usrDate ID="usrClaimLast2AccidentDate1" runat="server" ValidationGroup="carrefuser" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                    <td>
                                                                                        <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast2Claim2">
                                                                                            <tr>
                                                                                                <td colspan="2">
                                                                                                    Claim Value 2 ($)
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Not At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast2NAF2" Width="60px" onchange="CheckLast2Claim2ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast2NAF2" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2NAF2"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast2NAF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast2NAF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast2NAF2" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim2"
                                                                                                        OnServerValidate="CheckLast2Claim2" ControlToValidate="txtClaimLast2NAF2"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast2AF2" Width="60px" onchange="CheckLast2Claim2ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast2AF2" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2AF2"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast2AF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast2AF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast2AF2" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim2"
                                                                                                        OnServerValidate="CheckLast2Claim2" ControlToValidate="txtClaimLast2AF2"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Windscreen
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast2Windscreen2" Width="60px" onchange="CheckLast2Claim2ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast2Windscreen2" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2Windscreen2"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast2Windscreen2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast2Windscreen2" ValidationGroup="carrefuser" Text=""
                                                                                                        ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast2Windscreen2" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim2"
                                                                                                        OnServerValidate="CheckLast2Claim2" ControlToValidate="txtClaimLast2Windscreen2"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Accident Date
                                                                                                </td>
                                                                                                <td>
                                                                                                    <uc3:usrDate ID="usrClaimLast2AccidentDate2" runat="server" ValidationGroup="carrefuser" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                    <td>
                                                                                        <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast2Claim3">
                                                                                            <tr>
                                                                                                <td colspan="2">
                                                                                                    Claim Value 3 ($)
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Not At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast2NAF3" Width="60px" onchange="CheckLast2Claim3ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast2NAF3" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2NAF3"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast2NAF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast2NAF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast2NAF3" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim3"
                                                                                                        OnServerValidate="CheckLast2Claim3" ControlToValidate="txtClaimLast2NAF3"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast2AF3" Width="60px" onchange="CheckLast2Claim3ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast2AF3" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2AF3"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast2AF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast2AF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast2AF3" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim3"
                                                                                                        OnServerValidate="CheckLast2Claim3" ControlToValidate="txtClaimLast2AF3"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Windscreen
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast2Windscreen3" Width="60px" onchange="CheckLast2Claim3ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast2Windscreen3" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast2Windscreen3"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast2Windscreen3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast2Windscreen3" ValidationGroup="carrefuser" Text=""
                                                                                                        ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast2Windscreen3" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast2Claim3"
                                                                                                        OnServerValidate="CheckLast2Claim3" ControlToValidate="txtClaimLast2Windscreen3"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Accident Date
                                                                                                </td>
                                                                                                <td>
                                                                                                    <uc3:usrDate ID="usrClaimLast2AccidentDate3" runat="server" ValidationGroup="carrefuser" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </div>
                                                                    <div class="clear">
                                                                    </div>
                                                                </div>
                                                            </asp:Panel>
                                                            <div style="height: 202px;" id="divpnlClaimLast1margin" runat="server" visible="false">
                                                                divpnlClaimLast1margin</div>
                                                            <div class="clear">
                                                            </div>
                                                            <asp:Panel runat="server" ID="pnlClaimLast1" Visible="false">
                                                                <div class="row_border_half_full">
                                                                    <div class="w270px left">
                                                                        No. of Claims: (<asp:Label ID="lblLastThreeYear" runat="server" Text="" CssClass="blacklbl"></asp:Label>)</div>
                                                                    <div class="left">
                                                                        <asp:DropDownList ID="ddlNoOfClaim1" runat="server" Enabled="false">
                                                                            <asp:ListItem Value="-1" Selected="True">Select</asp:ListItem>
                                                                            <asp:ListItem>1</asp:ListItem>
                                                                            <asp:ListItem>2</asp:ListItem>
                                                                            <asp:ListItem>3</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                        <asp:RequiredFieldValidator ID="rfvNoOfClaim1" runat="server" CssClass="validationErrorControl"
                                                                            ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="ddlNoOfClaim1"
                                                                            InitialValue="-1" Display="Dynamic"></asp:RequiredFieldValidator>
                                                                        &nbsp; S$<asp:Label runat="server" ID="lblLast1ClaimValue" Text="0"></asp:Label>
                                                                    </div>
                                                                    <br />
                                                                    <div class="w270px left">
                                                                        <asp:Label runat="server" ID="lblbreakdown1" Text="Please breakdown claim to:" CssClass="blacklbl"></asp:Label></div>
                                                                    <div class="left">
                                                                        <div id="divClaimLast1" runat="server">
                                                                            <table>
                                                                                <tr>
                                                                                    <td>
                                                                                        <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast1Claim1">
                                                                                            <tr>
                                                                                                <td colspan="2">
                                                                                                    Claim Value 1 ($)
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Not At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast1NAF1" Width="60px" onchange="CheckLast1Claim1ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast1NAF1" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1NAF1"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast1NAF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast1NAF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast1NAF1" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim1"
                                                                                                        OnServerValidate="CheckLast1Claim1" ControlToValidate="txtClaimLast1NAF1"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast1AF1" Width="60px" onchange="CheckLast1Claim1ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast1AF1" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1AF1"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast1AF1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast1AF1" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast1AF1" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim1"
                                                                                                        OnServerValidate="CheckLast1Claim1" ControlToValidate="txtClaimLast1AF1"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Windscreen
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast1Windscreen1" Width="60px" onchange="CheckLast1Claim1ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast1Windscreen1" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1Windscreen1"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast1Windscreen1" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast1Windscreen1" ValidationGroup="carrefuser" Text=""
                                                                                                        ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast1Windscreen1" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim1"
                                                                                                        OnServerValidate="CheckLast1Claim1" ControlToValidate="txtClaimLast1Windscreen1"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Accident Date
                                                                                                </td>
                                                                                                <td>
                                                                                                    <uc3:usrDate ID="usrClaimLast1AccidentDate1" runat="server" ValidationGroup="carrefuser" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                    <td>
                                                                                        <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast1Claim2">
                                                                                            <tr>
                                                                                                <td colspan="2">
                                                                                                    Claim Value 2 ($)
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Not At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast1NAF2" Width="60px" onchange="CheckLast1Claim2ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast1NAF2" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1NAF2"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast1NAF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast1NAF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast1NAF2" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim2"
                                                                                                        OnServerValidate="CheckLast1Claim2" ControlToValidate="txtClaimLast1NAF2"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast1AF2" Width="60px" onchange="CheckLast1Claim2ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast1AF2" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1AF2"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast1AF2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast1AF2" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast1AF2" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim2"
                                                                                                        OnServerValidate="CheckLast1Claim2" ControlToValidate="txtClaimLast1AF2"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Windscreen
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast1Windscreen2" Width="60px" onchange="CheckLast1Claim2ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast1Windscreen2" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1Windscreen2"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast1Windscreen2" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast1Windscreen2" ValidationGroup="carrefuser" Text=""
                                                                                                        ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast1Windscreen2" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim2"
                                                                                                        OnServerValidate="CheckLast1Claim2" ControlToValidate="txtClaimLast1Windscreen2"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Accident Date
                                                                                                </td>
                                                                                                <td>
                                                                                                    <uc3:usrDate ID="usrClaimLast1AccidentDate2" runat="server" ValidationGroup="carrefuser" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                    <td>
                                                                                        <table border="0" cellpadding="1" width="310px" runat="server" id="tblLast1Claim3">
                                                                                            <tr>
                                                                                                <td colspan="2">
                                                                                                    Claim Value 3 ($)
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Not At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast1NAF3" Width="60px" onchange="CheckLast1Claim3ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast1NAF3" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1NAF3"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast1NAF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast1NAF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast1NAF3" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim3"
                                                                                                        OnServerValidate="CheckLast1Claim3" ControlToValidate="txtClaimLast1NAF3"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    At fault
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast1AF3" Width="60px" onchange="CheckLast1Claim3ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast1AF3" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1AF3"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast1AF3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast1AF3" ValidationGroup="carrefuser" Text="" ErrorMessage=""
                                                                                                        CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast1AF3" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim3"
                                                                                                        OnServerValidate="CheckLast1Claim3" ControlToValidate="txtClaimLast1AF3"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Windscreen
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox runat="server" ID="txtClaimLast1Windscreen3" Width="60px" onchange="CheckLast1Claim3ValidationCss()"
                                                                                                        MaxLength="8" Text="0" onkeypress="restrictToNumbers(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvClaimLast1Windscreen3" runat="server" CssClass="validationErrorControl"
                                                                                                        ErrorMessage="" ValidationGroup="carrefuser" ControlToValidate="txtClaimLast1Windscreen3"
                                                                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                                                                    <asp:RegularExpressionValidator ID="revClaimLast1Windscreen3" runat="server" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"
                                                                                                        ControlToValidate="txtClaimLast1Windscreen3" ValidationGroup="carrefuser" Text=""
                                                                                                        ErrorMessage="" CssClass="validationErrorControl"></asp:RegularExpressionValidator>
                                                                                                    <asp:CustomValidator ID="cvClaimLast1Windscreen3" runat="server" ValidationGroup="carrefuser"
                                                                                                        CssClass="validationErrorControl" Text="" ErrorMessage="" ClientValidationFunction="CheckLast1Claim3"
                                                                                                        OnServerValidate="CheckLast1Claim3" ControlToValidate="txtClaimLast1Windscreen3"></asp:CustomValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Accident Date
                                                                                                </td>
                                                                                                <td>
                                                                                                    <uc3:usrDate ID="usrClaimLast1AccidentDate3" runat="server" ValidationGroup="carrefuser" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </div>
                                                                    <div class="clear">
                                                                    </div>
                                                                </div>
                                                            </asp:Panel>
                                                        </asp:Panel>
                                                        <div class="clear">
                                                        </div>
                                                        <div style="height: 220px;" id="divAdditionalDrivermarginTop" runat="server" visible="false">
                                                            divAdditionalDrivermarginTop</div>
                                                        <div class="clear">
                                                        </div>
                                                        <div id="divAdditionalDriver" runat="server" visible="false">
                                                            <div class="row_border_half_full">
                                                                <table width="100%" class="form_subbox" cellpadding="3" cellspacing="0" border="0">
                                                                    <tbody>
                                                                        <tr>
                                                                            <th>
                                                                                Additional Name
                                                                                <br />
                                                                                Driver(s):
                                                                            </th>
                                                                            <%-- <th>
                                                                    Gender
                                                                </th>--%>
                                                                            <th>
                                                                                Birthday
                                                                            </th>
                                                                            <th>
                                                                                Relation to you
                                                                            </th>
                                                                            <th>
                                                                                Name
                                                                            </th>
                                                                            <th>
                                                                                NRIC
                                                                            </th>
                                                                            <th>
                                                                                License Pass Date
                                                                            </th>
                                                                        </tr>
                                                                        <tr id="divDriver1" runat="server" class="fs_odd">
                                                                            <td>
                                                                                <h4>
                                                                                    Driver 1</h4>
                                                                            </td>
                                                                            <%-- <td>
                                                                    <asp:Label ID="lblDriver1Gender" runat="server"></asp:Label>
                                                                </td>--%>
                                                                            <td>
                                                                                <asp:Label ID="lblDriver1Birthday" runat="server"></asp:Label>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver1Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="rfvDriver1" runat="server" ControlToValidate="txtDriver1Relation"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                                <a href="/tooltips/relation.htm?width=250" class="jTip" id="one" name="Relation:">
                                                                                    <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver1Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="RequiredFieldValidator1" runat="server"
                                                                                    ControlToValidate="txtDriver1Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                    Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                            </td>
                                                                            <td>
                                                                                <uc2:usrIdNumber ID="usrDriver1NRIC" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrDriver1LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                                    IsAllowGreaterThanToday="false" />
                                                                            </td>
                                                                        </tr>
                                                                        <tr id="divDriver2" runat="server" class="fs_even">
                                                                            <td>
                                                                                <h4>
                                                                                    Driver 2</h4>
                                                                            </td>
                                                                            <%--<td>
                                                                    <asp:Label ID="lblDriver2Gender" runat="server"></asp:Label>
                                                                </td>--%>
                                                                            <td>
                                                                                <asp:Label ID="lblDriver2Birthday" runat="server"></asp:Label>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver2Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="rfvDriver2" runat="server" ControlToValidate="txtDriver2Relation"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                                <a href="/tooltips/relation.htm?width=250" class="jTip" id="A1" name="Relation:">
                                                                                    <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver2Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="RequiredFieldValidator3" runat="server"
                                                                                    ControlToValidate="txtDriver2Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                    Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                            </td>
                                                                            <td>
                                                                                <uc2:usrIdNumber ID="usrDriver2NRIC" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrDriver2LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                                    IsAllowGreaterThanToday="false" />
                                                                            </td>
                                                                        </tr>
                                                                        <tr id="divDriver3" runat="server" class="fs_odd">
                                                                            <td>
                                                                                <h4>
                                                                                    Driver 3</h4>
                                                                            </td>
                                                                            <%--<td>
                                                                    <asp:Label ID="lblDriver3Gender" runat="server"></asp:Label>
                                                                </td>--%>
                                                                            <td>
                                                                                <asp:Label ID="lblDriver3Birthday" runat="server"></asp:Label>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver3Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="rfvDriver3" runat="server" ControlToValidate="txtDriver3Relation"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                                <a href="/tooltips/relation.htm?width=250" class="jTip" id="A2" name="Relation:">
                                                                                    <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver3Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="RequiredFieldValidator5" runat="server"
                                                                                    ControlToValidate="txtDriver3Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                    Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                            </td>
                                                                            <td>
                                                                                <uc2:usrIdNumber ID="usrDriver3NRIC" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrDriver3LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                                    IsAllowGreaterThanToday="false" />
                                                                            </td>
                                                                        </tr>
                                                                        <tr id="divDriver4" runat="server" class="fs_even">
                                                                            <td>
                                                                                <h4>
                                                                                    Driver 4</h4>
                                                                            </td>
                                                                            <%--<td>
                                                                    <asp:Label ID="lblDriver4Gender" runat="server"></asp:Label>
                                                                </td>--%>
                                                                            <td>
                                                                                <asp:Label ID="lblDriver4Birthday" runat="server"></asp:Label>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver4Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="rfvDriver4" runat="server" ControlToValidate="txtDriver4Relation"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                                <a href="/tooltips/relation.htm?width=250" class="jTip" id="A3" name="Relation:">
                                                                                    <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver4Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="RequiredFieldValidator7" runat="server"
                                                                                    ControlToValidate="txtDriver4Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                    Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                            </td>
                                                                            <td>
                                                                                <uc2:usrIdNumber ID="usrDriver4NRIC" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrDriver4LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                                    IsAllowGreaterThanToday="false" />
                                                                            </td>
                                                                        </tr>
                                                                        <tr id="divDriver5" runat="server" class="fs_odd">
                                                                            <td>
                                                                                <h4>
                                                                                    Driver 5</h4>
                                                                            </td>
                                                                            <%--<td>
                                                                    <asp:Label ID="lblDriver5Gender" runat="server"></asp:Label>
                                                                </td>--%>
                                                                            <td>
                                                                                <asp:Label ID="lblDriver5Birthday" runat="server"></asp:Label>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver5Relation" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="rfvDriver5" runat="server" ControlToValidate="txtDriver5Relation"
                                                                                    ErrorMessage="" ValidationGroup="carrefuser" Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                                <a href="/tooltips/relation.htm?width=250" class="jTip" id="A4" name="Relation:">
                                                                                    <img src="/images/icons/help.gif" alt="Help" align="absmiddle" width="16" height="18" /></a>
                                                                            </td>
                                                                            <td>
                                                                                <asp:TextBox ID="txtDriver5Name" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                                    CssClass="validationErrorControl" ID="RequiredFieldValidator9" runat="server"
                                                                                    ControlToValidate="txtDriver5Name" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                    Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                            </td>
                                                                            <td>
                                                                                <uc2:usrIdNumber ID="usrDriver5NRIC" runat="server" ValidationGroup="carrefuser" />
                                                                            </td>
                                                                            <td>
                                                                                <uc3:usrDate ID="usrDriver5LicensePassDate" runat="server" ValidationGroup="carrefuser"
                                                                                    IsAllowGreaterThanToday="false" />
                                                                            </td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                            </div>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                        <div style="height: 150px;" id="divAdditionalDrivermarginBottom" runat="server" visible="false">
                                                            divAdditionalDrivermarginBottom</div>
                                                        <div class="clear">
                                                        </div>
                                                    </td>
                                                    <td width="448" valign="top">
                                                        <a href="#" id="hplCallMeOffline" runat="server">
                                                            <img src="/images/banners/button_callback.png" alt="Request to call back" /></a><br />
                                                        <div class="row_border_right" style="margin-left: 20px;">
                                                            <table cellpadding="3" cellspacing="0" border="0" width="100%">
                                                                <tr>
                                                                    <td width="68%" align="left" style="text-align: left;">
                                                                        Parallel Import
                                                                    </td>
                                                                    <td width="45%" align="right" style="text-align: right;">
                                                                        <div class="radiol" id="divYesParallelImport">
                                                                            <asp:RadioButton runat="server" ID="rdoParallelImportYes" GroupName="ParallelImport"
                                                                                onclick="CheckParallelImport();CheckParallelImportValidationCss();" />&nbsp;<asp:Label
                                                                                    ID="lblParallelImportYes" runat="server" Text="Yes"></asp:Label>
                                                                        </div>
                                                                        <div class="radior" id="divNoParallelImport">
                                                                            <asp:RadioButton runat="server" Checked="true" ID="rdoParallelImportNo" GroupName="ParallelImport"
                                                                                onclick="CheckParallelImport();CheckParallelImportValidationCss();" />&nbsp;<asp:Label
                                                                                    ID="lblParallelImportNo" runat="server" Text="No"></asp:Label>
                                                                            <div style="display: none">
                                                                                <asp:TextBox ID="txtParallelImport" Text="1" runat="server"></asp:TextBox>
                                                                            </div>
                                                                            <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvParallelImport"
                                                                                runat="server" ControlToValidate="txtParallelImport" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td width="32%" align="left" style="text-align: left;">
                                                                        CNG Vehicle
                                                                    </td>
                                                                    <td width="45%" align="right" style="text-align: right;">
                                                                        <div class="radiol" id="divYesCNGVehicle">
                                                                            <asp:RadioButton runat="server" ID="rdoCNGVehicleYes" GroupName="CNGVehicle" onclick="CheckCNGVehicle();CheckCNGVehicleValidationCss();" />&nbsp;<asp:Label
                                                                                ID="lblCNGVehicleYes" runat="server" Text="Yes"></asp:Label>
                                                                        </div>
                                                                        <div class="radior" id="divNoCNGVehicle">
                                                                            <asp:RadioButton runat="server" Checked="true" ID="rdoCNGVehicleNo" GroupName="CNGVehicle"
                                                                                onclick="CheckCNGVehicle();CheckCNGVehicleValidationCss();" />&nbsp;<asp:Label ID="lblCNGVehicleNo"
                                                                                    runat="server" Text="No"></asp:Label>
                                                                            <div style="display: none">
                                                                                <asp:TextBox ID="txtCNGVehicle" Text="1" runat="server"></asp:TextBox>
                                                                            </div>
                                                                            <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvCNGVehicle"
                                                                                runat="server" ControlToValidate="txtCNGVehicle" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td width="55%" align="left" style="text-align: left;">
                                                                        Hybrid Model
                                                                    </td>
                                                                    <td width="45%" align="right" style="text-align: right;">
                                                                        <div class="radiol" id="divYesHybridModel">
                                                                            <asp:RadioButton runat="server" ID="rdoHybridModelYes" GroupName="HybridModel" onclick="CheckHybridModel();CheckHybridModelValidationCss();" />&nbsp;<asp:Label
                                                                                ID="lblHybridModelYes" runat="server" Text="Yes"></asp:Label>
                                                                        </div>
                                                                        <div class="radior" id="divNoHybridModel">
                                                                            <asp:RadioButton runat="server" Checked="true" ID="rdoHybridModelNo" GroupName="HybridModel"
                                                                                onclick="CheckHybridModel();CheckHybridModelValidationCss();" />&nbsp;<asp:Label
                                                                                    ID="lblHybridModelNo" runat="server" Text="No"></asp:Label>
                                                                            <div style="display: none">
                                                                                <asp:TextBox ID="txtHybridModel" Text="1" runat="server"></asp:TextBox>
                                                                            </div>
                                                                            <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvHybridModel"
                                                                                runat="server" ControlToValidate="txtHybridModel" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td width="55%" align="left" style="text-align: left;">
                                                                        Any Suspension of Driving License?
                                                                    </td>
                                                                    <td width="45%" align="right" style="text-align: right;">
                                                                        <div class="radiol" id="divYesSuspension">
                                                                            <asp:RadioButton runat="server" ID="rdoSuspensionYes" GroupName="Suspension" onclick="CheckSuspension();CheckSuspensionValidationCss();" />&nbsp;<asp:Label
                                                                                ID="lblSuspensionYes" runat="server" Text="Yes"></asp:Label>
                                                                        </div>
                                                                        <div class="radior" id="divNoSuspension">
                                                                            <asp:RadioButton runat="server" Checked="true" ID="rdoSuspensionNo" GroupName="Suspension"
                                                                                onclick="CheckSuspension();CheckSuspensionValidationCss();" />&nbsp;<asp:Label ID="lblSuspensionNo"
                                                                                    runat="server" Text="No"></asp:Label>
                                                                            <div style="display: none">
                                                                                <asp:TextBox ID="txtSuspension" Text="1" runat="server"></asp:TextBox>
                                                                            </div>
                                                                            <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvSuspension"
                                                                                runat="server" ControlToValidate="txtSuspension" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td width="55%" align="left" style="text-align: left;">
                                                                        Car policy cancelled/declined before by insurers?
                                                                    </td>
                                                                    <td width="45%" align="right" style="text-align: right;" valign="top">
                                                                        <div class="radiol" id="divYesCancelled">
                                                                            <asp:RadioButton runat="server" ID="rdoCancelledYes" GroupName="PolicyCancelled"
                                                                                onclick="CheckCancelled();CheckCancelledValidationCss();" />&nbsp;<asp:Label ID="lblCancelledYes"
                                                                                    runat="server" Text="Yes"></asp:Label>
                                                                        </div>
                                                                        <div class="radiol" id="divNoCancelled">
                                                                            <asp:RadioButton runat="server" Checked="true" ID="rdoCancelledNo" GroupName="PolicyCancelled"
                                                                                onclick="CheckCancelled();CheckCancelledValidationCss();" />&nbsp;<asp:Label ID="lblCancelledNo"
                                                                                    runat="server" Text="No"></asp:Label>
                                                                            <div style="display: none">
                                                                                <asp:TextBox ID="txtPolicyCancelled" Text="1" runat="server"></asp:TextBox>
                                                                            </div>
                                                                            <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvPolicyCancelled"
                                                                                runat="server" ControlToValidate="txtPolicyCancelled" ErrorMessage="" ValidationGroup="carrefuser"
                                                                                Display="Dynamic" Text=""></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>
                                            <div class="formButtons_new1">
                                                <div runat="server" id="divNoMatchMessage" visible="false" class="sub_msg">
                                                    <asp:Label runat="server" ID="lblNoMatchMessage" Font-Bold="true"></asp:Label>
                                                </div>
                                                <div class="cancel">
                                                    <%--<img src="/images/buttons/form_back_but.gif" width="118" height="45" alt="Back" />--%>
                                                    <%--<asp:ImageButton ID="ibtNoMatchBack" runat="server" ImageUrl="~/images/buttons/form_back_but.gif"
                                                        OnClick="ibtNoMatchBack_Click" onmouseover="this.src='/images/buttons/form_back_but_o.gif';"
                                                        onmouseout="this.src='/images/buttons/form_back_but.gif';" />--%>
                                                    <asp:Button runat="server" ID="btnNoMatchBack" Visible="true" onmousedown="this.className = 'button_back_mousedown';"
                                                        onmouseup="this.className = 'button_back';" onmouseout="this.className = 'button_back';"
                                                        CssClass="button_back" CausesValidation="false" OnClientClick="if (Page_ClientValidate('none')){this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className = 'button_processing';} return true;"
                                                        OnClick="btnNoMatchBack_Click" />
                                                    <%--<asp:ImageButton ID="ibtnOfflineBack" runat="server" ImageUrl="~/images/buttons/form_back_but.gif"
                                                        OnClick="ibtnOfflineBack_Click" onmouseover="this.src='/images/buttons/form_back_but_o.gif';"
                                                        onmouseout="this.src='/images/buttons/form_back_but.gif';" />--%>
                                                    <asp:Button runat="server" ID="btnOfflineBack" Visible="true" onmousedown="this.className = 'button_back_mousedown';"
                                                        onmouseout="this.className = 'button_back';" onmouseup="this.className = 'button_back';"
                                                        CssClass="button_back" CausesValidation="false" OnClientClick="if (Page_ClientValidate('none')){this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className = 'button_processing';} return true;"
                                                        OnClick="btnOfflineBack_Click" />
                                                </div>
                                                <div class="nextstep">
                                                    <%--<asp:ImageButton ID="ibtSubmit" runat="server" ImageUrl="~/images/buttons/submit_but.gif"
                                                        CssClass="button" ValidationGroup="carrefuser" OnClientClick="LoadValidationErrorCss();CheckOptionValidationCss();ShowSubmitProgress('carrefuser');"
                                                        OnClick="ibtSubmit_Click" onmouseover="this.src='/images/buttons/submit_but_o.gif';"
                                                        onmouseout="this.src='/images/buttons/submit_but.gif';" />--%><%-- return SubmitConfirm();--%><%--OnClientClick="LoadValidationErrorCss();return SubmitConfirm();"--%>
                                                    <asp:Button ID="btnSubmit" runat="server" CssClass="button_submit" ValidationGroup="carrefuser"
                                                        OnClientClick="LoadValidationErrorCss();CheckOptionValidationCss();ShowSubmitProgress('carrefuser');if (Page_ClientValidate('carrefuser')) { if(confirm('By pressing the submit button, you authorise CompareXpress to send your personal information to a 3rd party.')) {this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className='button_processing';return true;}} return false;"
                                                        onmousedown="this.className = 'button_submit_mousedown';" onmouseup="this.className = 'button_submit';"
                                                        onmouseout="this.className = 'button_submit';" OnClick="btnSubmit_Click" />
                                                    <asp:ImageButton ID="ibtRunNewQuoteforNomatch" AlternateText="Run New Quote" ImageUrl="~/images/button/get_quote.gif"
                                                        OnClick="ibtRunNewQuoteforNomatch_Click" runat="server" Visible="false" />
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="seperator">
                                            </div>
                                            <div class="clear">
                                            </div>
                                        </div>
                                    </fieldset>
                                </div>
                            </div>
                        </div>
                        <!-- CALL ME | End    -->
                    </div>
                    <div style="width: 100%; height: auto; text-align: right; display: none;" id="divHeadingbuydirect"
                        runat="server">
                        <asp:Image ImageUrl="~/images/bg/heading_buydirect.png" ID="imgInstantBuy" runat="server" /></div>
                    <%--<br/><p>It could be because of your details information, e.g. number of driving years in Singapore.<br/><a href=''>Click here</a> to view or update your profile.</p>--%>
                    <%--EmptyDataText="<div class='pad_10'><h2>No Matches Found!</h2><span class='font_12'><strong>Please take note that there are no matches found based on your details entered.</strong></span><div class='seperator'></div><div class='seperator'></div>You can also return to our <a href='/'>homepage</a> or our dedicated <a href='/car-insurance/'>car insurance</a> page to re-quote.<div class='seperator'></div>Thank you for using CompareXpress.com.</div>" --%>
                    <asp:GridView ID="gvCarResult" runat="server" AutoGenerateColumns="False" CellPadding="2"
                        Width="100%" GridLines="None" CssClass="gridstyle" DataKeyNames="CITempResultId,ProviderCompanyId"
                        EmptyDataText="<div class='pad_10'><h2>No Matches Found!</h2><span class='font_12'><strong>Please take note that there are no matches found based on your details entered.</strong></span><div class='seperator'></div><div class='seperator'></div>You can also return to our <a href='/'>homepage</a> or our dedicated <a href='/car-insurance/'>car insurance</a> page to re-quote.<div class='seperator'></div>Thank you for using CompareXpress.com.</div>"
                        EmptyDataRowStyle-CssClass="" OnRowCreated="gvCarResult_RowCreated" OnRowCommand="gvCarResult_RowCommand"
                        AllowSorting="True" OnSorting="gvCarResult_Sorting" OnRowDataBound="gvCarResult_RowDataBound">
                        <Columns>
                            <asp:BoundField DataField="CITempResultId" HeaderText="CITempResultId" Visible="false" />
                            <asp:BoundField DataField="CXCoverTypeId" HeaderText="CXCoverTypeId" Visible="false" />
                            <asp:BoundField DataField="ProviderCompanyId" HeaderText="ProviderCompanyId" Visible="false" />
                            <%--<asp:ImageField DataImageUrlField="CompanyLogoUrl" HeaderText="Insurer" SortExpression="InsurerName" />--%>
                            <asp:TemplateField HeaderText="Insurer" SortExpression="InsurerName">
                                <ItemTemplate>
                                    <div>
                                        <asp:Image ID="imgCompanyLogo" runat="server" />
                                    </div>
                                    <div>
                                        <asp:Label ID="lblCoverTypeDesc" runat="server" Text="" />
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="InsurerName" Visible="false" HeaderText="Company Name"
                                SortExpression="InsurerName" />
                            <%--<asp:BoundField DataField="AnnualPremium" DataFormatString="{0:c}" HtmlEncode="false"
                                HeaderText="Annual<br/>Premium<br/><span class='grid_font'>(+ GST)</span>" HeaderStyle-Width="90"
                                SortExpression="AnnualPremium" />--%>
                            <asp:TemplateField HeaderText="Annual<br/>Premium<br/><span class='grid_font'>(+ GST)</span>"
                                HeaderStyle-Width="90" SortExpression="AnnualPremium">
                                <ItemTemplate>
                                    <asp:Label ID="lblPremium" runat="server" Text="" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <%--<asp:TemplateField HeaderText="FREE Petrol Voucher" >
                                <ItemTemplate>                               
                                   <asp:Image ID="imgPV" runat="server" />                                   
                                </ItemTemplate>
                            </asp:TemplateField>--%>
                            <%--<asp:BoundField DataField="MonthlyPremiumAmount" DataFormatString="{0:c}" HtmlEncode="false"
                                HeaderText="Monthly<br/>Premium<br/><span class='grid_font'>(+ GST)</span>" HeaderStyle-Width="90"
                                SortExpression="MonthlyPremiumAmount" />--%>
                            <asp:TemplateField HeaderText="Monthly Installments<br/><span class='grid_font'>12-mth 0% Interest Free</span>"
                                SortExpression="MonthlyPremiumAmount">
                                <ItemTemplate>
                                    <asp:Image ID="imgMonthlyPremiumAmount" runat="server" ImageUrl="~/images/icons/X.gif" />
                                    <asp:Label ID="lblMonthlyPremiumAmount" runat="server" Text=""></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Monthly Installments<br>6 months" HeaderStyle-Width="90">
                                <ItemTemplate>
                                    <div style="padding-top: 10px;">
                                        <asp:Label ID="lblMonthlyPremiumAmount6Months" runat="server" Text=""></asp:Label>
                                        / Mth
                                        <table width="100%" border="o" cellspacing="0" cellpadding="o" style="margin: 10px 0;
                                            border: none;">
                                            <tr>
                                                <td class="border">
                                                    <a class="tooltips" href="#">
                                                        <img src="../images/logos/car-insurance-installment/ico-citi.png" width="30" height="30"
                                                            alt="" id="img6Citi" runat="server" /><span>CitiBank</span></a>
                                                </td>
                                                <td class="border">
                                                    <a class="tooltips" href="#">
                                                        <img src="../images/logos/car-insurance-installment/ico-stan-chap.png" width="24"
                                                            height="24" alt="" id="img6SC" runat="server" /><span>Standard Chartered</span></a>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="border" colspan="2" style="padding-top: 5px;">
                                                    <a class="tooltips" href="#">
                                                        <img src="../images/logos/car-insurance-installment/ico_dbs-posb.png" alt="" id="img6DBS"
                                                            runat="server" /><span>DBS & POSB</span></a>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Monthly Installments<br>12 months" HeaderStyle-Width="90">
                                <ItemTemplate>
                                    <div style="padding-top: 10px;">
                                        <asp:Label ID="lblMonthlyPremiumAmount12Months" runat="server" Text=""></asp:Label>
                                        / Mth
                                        <table width="100%" border="o" cellspacing="0" cellpadding="o" style="margin: 10px 0;
                                            border: none;">
                                            <tr>
                                                <td class="border">
                                                    <a class="tooltips" href="#">
                                                        <img src="../images/logos/car-insurance-installment/ico-citi.png" width="30" height="30"
                                                            alt="" id="img12Citi" runat="server" /><span>CitiBank</span></a>
                                                </td>
                                                <td class="border">
                                                    <a class="tooltips" href="#">
                                                        <img src="../images/logos/car-insurance-installment/ico-stan-chap.png" width="24"
                                                            height="24" alt="" id="img12SC" runat="server" /><span>Standard Chartered</span></a>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="border" colspan="2" style="padding-top: 5px;">
                                                    <a class="tooltips" href="#">
                                                        <img src="../images/logos/car-insurance-installment/ico_dbs-posb.png" alt="" id="img12DBS"
                                                            runat="server" /><span>DBS & POSB</span></a>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Excess" SortExpression="Excess" HeaderStyle-Width="90">
                                <ItemTemplate>
                                    <asp:Label ID="lblExcess" runat="server" Text=""></asp:Label>
                                    <br />
                                    <asp:Label ID="lblExcessDetails" runat="server" Text="" Font-Bold="true" ForeColor="Red"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <%-- Add - Sakthi @ 30 Jul 2014 - Start --%>
                            <asp:TemplateField HeaderText="Excess Waiver<br>Benefit" HeaderStyle-Width="80">
                                <ItemTemplate>
                                    <div style="padding-top: 5px;">
                                        <asp:Label ID="lblExcessWaiver" runat="server" Text=""></asp:Label>
                                        <div runat="server" id="divToolTip">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 5px 0;
                                                border: none;">
                                                <tr>
                                                    <td class="border" style="padding-top: 5px;">
                                                        <a href="/tooltips/excess-waiver-benefit.htm?width=500" class="jTip" id='<%# Eval("CITempResultId") %>'>
                                                            <img src="~/images/logos/terms.PNG" alt="Terms & Conditions" style="vertical-align: middle;"
                                                                id="imgTC" runat="server" width="50" /></a> </span>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <%-- Add - Sakthi @ 30 Jul 2014 - End --%>
                            <%-- <asp:BoundField DataField="Excess" DataFormatString="${0:#,0}" HeaderStyle-Width="90"
                                HeaderText="Excess" SortExpression="Excess" />--%>
                            <asp:BoundField DataField="PlanName" Visible="true" HeaderText="Workshop Plan" SortExpression="CXCoverTypeId" />
                            <asp:BoundField DataField="PolicyHolder" DataFormatString="${0:#,0}" HeaderStyle-Width="90"
                                HtmlEncode="false" HeaderText="Personal<br/>Accident<br/><span class='grid_font'>(Insured)</span>"
                                SortExpression="PolicyHolder" />
                            <%--<asp:BoundField DataField="PassengerEach" DataFormatString="${0:#,0}" HeaderStyle-Width="90"
                                HtmlEncode="false" HeaderText="Personal<br/>Accident<br/><span class='grid_font'>(Each Passenger)</span>"
                                SortExpression="PassengerEach" />--%>
                            <%--<asp:BoundField DataField="MedicalExpense" DataFormatString="${0:#,0}" HeaderText="Medical Expense"
                                SortExpression="MedicalExpense" />--%>
                            <asp:TemplateField HeaderText="Medical Expense" SortExpression="MedicalExpense">
                                <ItemTemplate>
                                    <div>
                                        <asp:Image ID="imgMedicalExpense" runat="server" ImageUrl="~/images/icons/X.gif" />
                                    </div>
                                    <div>
                                        <asp:Label ID="lblMedicalExpense" runat="server" Text="" />
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="CashAllowance" Visible="false" HeaderText="" SortExpression="CashAllowance" />
                            <%--<asp:BoundField DataField="CashAllowanceText" HtmlEncode="false" HeaderText="Loss of Use<br/><span class='grid_font'>(Cash)</span>"
                                SortExpression="CashAllowance" />--%>
                            <asp:TemplateField Visible="false" HeaderText="Loss of Use<br/><span class='grid_font'>(Benefit)</span>"
                                SortExpression="CashAllowance">
                                <ItemTemplate>
                                    <div>
                                        <asp:Image ID="imgCashAllowance" runat="server" ImageUrl="~/images/icons/X.gif" />
                                    </div>
                                    <div>
                                        <asp:Label ID="lblCashAllowance" runat="server" Text="" />
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Loss of Personal Effects" SortExpression="PersonnalEffectsLoss">
                                <ItemTemplate>
                                    <div>
                                        <asp:Image ID="imgPersonnalEffectsLoss" runat="server" ImageUrl="~/images/icons/X.gif" />
                                    </div>
                                    <div>
                                        <asp:Label ID="lblPersonnalEffectsLoss" runat="server" Text="" />
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="IsCarReplacement" Visible="false" HeaderText="Car Replacement" />
                            <asp:TemplateField HeaderText="Loss of Use<br/><span class='grid_font'>(Benefit)</span>"
                                SortExpression="CarReplacement">
                                <ItemTemplate>
                                    <div>
                                        <asp:Image ID="imgCarReplacement" runat="server" ImageUrl="~/images/icons/X.gif" />
                                    </div>
                                    <div>
                                        <asp:Label ID="lblCarReplacement" Width="90px" runat="server" Text="" />
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <%--<asp:ImageField HeaderStyle-Width="80" HeaderText="Loss of Use<br/><span class='grid_font'>(Car Replacement)</span>"
                                DataImageUrlField="CarReplacementUrl" SortExpression="IsCarReplacement">
                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                            </asp:ImageField>--%>
                            <asp:BoundField DataField="IsNCDInclude" Visible="false" HeaderText="NCD Protection Inclusive" />
                            <asp:ImageField ItemStyle-HorizontalAlign="Center" Visible="false" HeaderText="NCD Protection Inclusive"
                                DataImageUrlField="NCDIncludeUrl" SortExpression="IsNCDInclude">
                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                            </asp:ImageField>
                            <%--<asp:TemplateField HeaderText="NCD Protection Inclusive" SortExpression="IsNCDInclude">
                                <ItemTemplate>
                                    <asp:Image ID="imgNCDProtection" runat="server" ImageUrl="~/images/icons/X.gif" />
                                </ItemTemplate>
                            </asp:TemplateField>--%>
                            <asp:TemplateField HeaderText="" HeaderStyle-CssClass="buydirect">
                                <ItemTemplate>
                                    <div class="gridbtn4">
                                        <a href="#acallme" runat="server" id="hplCallMe" class="more_info_but" visible="true">
                                            <asp:Image runat="server" ID="ibtCallMe" ImageUrl="~/images/button/call.gif" AlternateText="Call Me" />
                                        </a>
                                        <asp:ImageButton ID="ibtBuyNow" ImageUrl="~/images/button/buydirect.gif" AlternateText="Select"
                                            runat="server" CommandName="BuyNow" onmouseover="this.src='/images/button/buydirect_s.gif';"
                                            onmouseout="this.src='/images/button/buydirect.gif';" ValidationGroup="buynow" /><br />
                                        <uc1:usrMoreInfoDropdownButton ID="ibtMoreInfo" runat="server" BenefitNavigateURL="ViewProviderWorkShop.aspx?comid="
                                            WorkShopNavigateURL="ViewProviderWorkShop.aspx?comid=" RowId="row1" />
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Loss of Use<br/><span class='grid_font'>(Car Replacement)</span>"
                                SortExpression="CarReplacement" Visible="false">
                                <ItemTemplate>
                                    <asp:Label ID="lblPolicyId" runat="server" Text="" Visible="false"></asp:Label>
                                    <asp:Label ID="lblPromoId" runat="server" Text="" Visible="false"></asp:Label>
                                    <asp:Label ID="lblPolicyInfoId" runat="server" Text="" Visible="false"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="NInfo5" Visible="false" HeaderText="NInfo5" SortExpression="NInfo5" />
                        </Columns>
                        <FooterStyle />
                        <PagerStyle />
                        <SelectedRowStyle />
                        <HeaderStyle CssClass="gridheader" />
                        <EditRowStyle />
                        <AlternatingRowStyle CssClass="gridodd" />
                        <RowStyle CssClass="grideven" />
                    </asp:GridView>
                    <div runat="server" id="divOfflineBanner" visible="false">
                        <asp:HyperLink runat="server" ID="hplOfflineRequest" Font-Bold="true" Font-Size="Large"
                            Text="" NavigateUrl="~/car-insurance/results.aspx?offline=1">
                            <img alt="" src="/images/banners/banner-offline-quote.png" />
                        </asp:HyperLink>
                    </div>
                    <div style="height: 150px" runat="server" id="divMessage" visible="false">
                        <asp:Label ID="lblMessage" Font-Size="20px" Font-Bold="true" runat="server" Visible="false"></asp:Label>
                    </div>
                    <div class="formButtons">
                        <div class="cancel">
                            <div class="seperator">
                            </div>
                            <div class="button2" style="padding: 10px; background: #ededed" id="divBack" runat="server">
                                <%--<asp:ImageButton ID="ibtBack" runat="server" ImageUrl="~/images/buttons/form_back_but.gif"
                                    OnClick="ibtBack_Click" onmouseover="this.src='/images/buttons/form_back_but_o.gif';"
                                    onmouseout="this.src='/images/buttons/form_back_but.gif';" />--%>
                                <asp:Button runat="server" ID="btnBack" Visible="true" onmousedown="this.className = 'button_back_mousedown';"
                                    onmouseup="this.className = 'button_back';" onmouseout="this.className = 'button_back';"
                                    CssClass="button_back" CausesValidation="false" OnClientClick="this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className = 'button_processing';"
                                    OnClick="btnBack_Click" />
                                <span style="position: relative; left: 220px; display: none"><a href="#" onclick="popup('popUpDiv')">
                                    <img src="../images/buttons/butt_Compare.jpg" width="114" height="43" alt="Compare" /></a>
                                </span>
                            </div>
                        </div>
                        <div class="submit">
                        </div>
                        <div class="nextstep">
                            <span class="button2">
                                <asp:Button ID="btnNewCarInsurance" runat="server" OnClick="btnNewCarInsurance_Click"
                                    Text="Start Over [New Car]" Visible="False" />
                            </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="blanket" style="display: none;">
    </div>
    <div style="display: none;">
        <asp:LinkButton runat="server" ID="lnkbtnPopup" Text="click"></asp:LinkButton>
        <input id="inputProviderId" runat="server" type="hidden" />
        <input id="inputCarResultId" runat="server" type="hidden" />
        <asp:TextBox ID="txtNCDforExcessWaiver" runat="server" Text="0"></asp:TextBox>
    </div>
    <%--<cc1:modalpopupextender id="mpePopup" runat="server" dropshadow="true" popupcontrolid="pnlPopup"
        backgroundcssclass="modalBackground" targetcontrolid="lnkbtnPopup" cancelcontrolid="btnClose"
        behaviorid="mdlPopup">
            </cc1:modalpopupextender>--%>
    <!-- Call to Action Popup | Start -->
    <%--<asp:Panel ID="pnlPopup" runat="server" Style="display: none; background-color: white;"
        Width="595px" Height="320px" >
        <div id="divPopup" style="padding: 10px; padding-top: 0px; height: 310px;">
            <div style="width: 100%; height: 30px; text-align: right; margin-top: 3px;">
                <div class="bg_grey_5 pad7px txtright" style="width: 560px; text-align: right;">
                    <a href="results-new.aspx" name="ctl00$ContentPlaceHolder1$btnClose" onclick="HidePanel();"
                        id="ctl00_ContentPlaceHolder1_btnClose">
                        <img src="/images/spacer.gif" id="btnClose" border="0" class="button_close" width="75"
                            height="30" alt="Close" /></a>
                </div>
            </div>
            <div style="margin-left: 15px; margin-top: 20px;">
                <asp:Image ID="imgProvider" runat="server" Width="100px" /><br />
            </div>
            <table cellpadding="0" cellspacing="0" border="0" class="table_details" style="width: 580px;">
                <tr>
                    <td width="220">
                    </td>
                    <td class="bg_grey_2" width="360">
                        <div>
                            <div class="curvetopleft left">
                            </div>
                            <div class="curvetopright right">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="txtleft pad7px border1pxdotb_light">
                        <strong>Your Full Name</strong>
                    </td>
                    <td class="bg_grey_2 pad7px border2pxdotb">
                        <asp:TextBox ID="txtFullNamePopup" Width="250" MaxLength="80" runat="server" ReadOnly="true"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="txtleft pad7px border1pxdotb_light">
                        <strong>Your E-mail</strong>
                    </td>
                    <td class="bg_grey_2 pad7px border2pxdotb">
                        <asp:TextBox ID="txtEmailPopup" runat="server" Width="250" MaxLength="100" ReadOnly="true"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="txtleft pad7px border1pxdotb_light">
                        <strong>Your Mobile Number</strong>
                    </td>
                    <td class="bg_grey_2 pad7px border2pxdotb">
                        <uc1:usrPhoneNo ID="txtMobilePopup" IsEnabled="true" IsRequired="true" PhoneNoRequireErrorMessage="Require mobile number."
                            PhoneNoErrorMessage="Mobile phone number should 8 digits." PhoneNoValidErrorMessage="Invalid mobile phone number."
                            runat="server" ValidationGroup="requestoptions" IsReadOnly="true" />
                    </td>
                </tr>                
                <tr id="trForwardThis" style="display:none;">
                    <td class="txtleft pad7px">
                        <strong>Your Preference</strong>
                    </td>
                    <td class="bg_grey_2 pad7px">
                        <asp:Button runat="server" ID="btnForwardThis" CssClass="button_forward-this" OnClick="btnForwardThis_Click"
                            OnClientClick="this.className = 'button_processing';" />
                    </td>
                </tr>                
                <tr id="trEmailMe" style="display:none;">
                    <td class="txtleft pad7px">
                        <strong>Your Preference</strong>
                    </td>
                    <td class="bg_grey_2 pad7px">
                        <asp:Button runat="server" ID="btnEmailMe" CssClass="button_email-me" OnClick="btnEmailMe_Click"
                            OnClientClick="this.className = 'button_processing';" />
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td class="bg_grey_2 w210px">
                        <div>
                            <div class="curvebottomleft left">
                            </div>
                            <div class="curvebottomright right">
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </asp:Panel>--%>
    <!-- Learn More Popup | End   -->

    <script type="text/javascript">
        IncreaseProgress(75);
    </script>

    <script type="text/javascript">
        IncreaseProgress(95);
    </script>

    <script type="text/javascript">
        IncreaseProgress(100);
        HideLoading();
        AddMoreInfoRows();
        function ShowHideDiv(divName, varOnOff) {
            if (varOnOff) {
                document.getElementById(divName).style.display = "";
            }
            else {
                document.getElementById(divName).style.display = "none";
            }
        }
        function showhide(divName) {

            el = document.getElementById(divName);
            el.style.display = (el.style.display == "none") ? "" : "none";

        }
    </script>

    <script type="text/javascript">
        function ShowHideCallMe(showhideFlag, companyName, premiumVal, covertype, workshop, companyLogoUrl, CarMakeModel, CompanyId) {
            //alert(showhideFlag);

            if (CompanyId == '0') {
                document.getElementById('divcallmeinsurer').style.display = "none";
                document.getElementById("imgCallMeCompanyLogo").style.width = "389px";
                document.getElementById('<%=divCallMeVehicleNolabel.ClientID%>').style.display = "";
                document.getElementById('<%=divCallMeVehicleNo.ClientID%>').style.display = "";
                ValidatorEnable(document.getElementById('<%=rfvCallMeVehicleNo.ClientID%>'), true);
                ValidatorEnable(document.getElementById('<%=revCallMeVehicleNo.ClientID%>'), true);
            }
            else {
                document.getElementById('<%=divCallMeVehicleNolabel.ClientID%>').style.display = "none";
                document.getElementById('<%=divCallMeVehicleNo.ClientID%>').style.display = "none";
                ValidatorEnable(document.getElementById('<%=rfvCallMeVehicleNo.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=revCallMeVehicleNo.ClientID%>'), false);
            }

            if (showhideFlag) {
                document.getElementById("callme").style.display = '';
                document.getElementById("<%=lblCallMeMakeModel.ClientID%>").innerHTML = CarMakeModel;
                document.getElementById("<%=inputCallMeMakeModel.ClientID%>").value = CarMakeModel;
                document.getElementById("<%=lblCallMeCompanyName.ClientID%>").innerHTML = companyName;
                document.getElementById("<%=inputCallMeCompanyName.ClientID%>").value = companyName;
                document.getElementById("imgCallMeCompanyLogo").src = companyLogoUrl;
                document.getElementById("<%=CompanyId.ClientID%>").value = CompanyId;
            }
            else {
                document.getElementById("callme").style.display = 'none';
                document.getElementById("<%=lblCallMeMakeModel.ClientID%>").innerHTML = '';
                document.getElementById("<%=lblCallMeCompanyName.ClientID%>").innerHTML = '';
                document.getElementById("<%=inputCallMeCompanyName.ClientID%>").value = '';
                document.getElementById("imgCallMeCompanyLogo").src = '';
                document.getElementById("<%=CompanyId.ClientID%>").value = '0';
            }

            //if (Page_ClientValidate('callme')) { alert('ok!'); } else { alert('not ok!'); }
        }
    </script>

    <script type="text/javascript">
        function SubmitConfirm() {
            var _retVal = false;
            if (Page_ClientValidate('carrefuser')) {
                _retVal = confirm('By pressing the submit button, you authorise CompareXpress to send your personal information to a 3rd party.');
            }
            alert(_retVal);
            return _retVal;
        }

        function SubmitConfirm() {
            var _retVal = false;
            if (Page_ClientValidate('callme')) {
                _retVal = confirm('By pressing the confirm button, you authorise CompareXpress to save your personal information.');
            }
            //alert(_retVal);
            return _retVal;
        }
    </script>

    <%--<script type="text/javascript" src="/js/jtip_buydirect.js"></script>--%>
    <!-- Google Code for Car Insurance Conversion Page -->

    <script type="text/javascript">
        /* <![CDATA[ */
        var google_conversion_id = 994503541;
        var google_conversion_language = "en";
        var google_conversion_format = "3";
        var google_conversion_color = "ffffff";
        var google_conversion_label = "KQSaCMOIjQMQ9dab2gM";
        var google_conversion_value = 0;
        /* ]]> */
    </script>

    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>

    <noscript>
        <div style="display: inline;">
            <img height="1" width="1" style="border-style: none;" alt="" src="http://www.googleadservices.com/pagead/conversion/994503541/?value=0&amp;label=KQSaCMOIjQMQ9dab2gM&amp;guid=ON&amp;script=0" />
        </div>
    </noscript>

    <script type='text/javascript'>
        function CheckParallelImport() {
            var ctrlParallelImport = document.getElementById('<%=txtParallelImport.ClientID%>');
            var ctrlY = document.getElementById('<%=rdoParallelImportYes.ClientID%>');
            var ctrlN = document.getElementById('<%=rdoParallelImportNo.ClientID%>');
            var valPI = document.getElementById('<%=rfvParallelImport.ClientID%>');
            if (ctrlY.checked == true || ctrlN.checked == true) {
                ctrlParallelImport.value = '1';
                valPI.style.visibility = 'hidden';
            }
            else {
                ctrlParallelImport.value = '';
            }
        }

        function CheckParallelImportValidationCss() {
            var ctrlDivYes = 'divYesParallelImport';
            var ctrlDivNo = 'divNoParallelImport';
            var txtText = '<%=txtParallelImport.ClientID%>';
            var valPI = '<%=rfvParallelImport.ClientID%>';
            ShowValidationEffectOption(ctrlDivYes, ctrlDivNo, txtText, valPI);
            return true;
        }

        function CheckCNGVehicle() {
            var ctrlCNGVehicle = document.getElementById('<%=txtCNGVehicle.ClientID%>');
            var ctrlY = document.getElementById('<%=rdoCNGVehicleYes.ClientID%>');
            var ctrlN = document.getElementById('<%=rdoCNGVehicleNo.ClientID%>');
            var valCNG = document.getElementById('<%=rfvCNGVehicle.ClientID%>');
            if (ctrlY.checked == true || ctrlN.checked == true) {
                ctrlCNGVehicle.value = '1';
                valCNG.style.visibility = 'hidden';
            }
            else {
                ctrlCNGVehicle.value = '';
            }
        }

        function CheckCNGVehicleValidationCss() {
            var ctrlDivYes = 'divYesCNGVehicle';
            var ctrlDivNo = 'divNoCNGVehicle';
            var txtText = '<%=txtCNGVehicle.ClientID%>';
            var valCNG = '<%=rfvCNGVehicle.ClientID%>';
            ShowValidationEffectOption(ctrlDivYes, ctrlDivNo, txtText, valCNG);
            return true;
        }

        function CheckHybridModel() {
            var ctrlHybridModel = document.getElementById('<%=txtHybridModel.ClientID%>');
            var ctrlY = document.getElementById('<%=rdoHybridModelYes.ClientID%>');
            var ctrlN = document.getElementById('<%=rdoHybridModelNo.ClientID%>');
            var valHYM = document.getElementById('<%=rfvHybridModel.ClientID%>');
            if (ctrlY.checked == true || ctrlN.checked == true) {
                ctrlHybridModel.value = '1';
                valHYM.style.visibility = 'hidden';
            }
            else {
                ctrlHybridModel.value = '';
            }
        }

        function CheckHybridModelValidationCss() {
            var ctrlDivYes = 'divYesHybridModel';
            var ctrlDivNo = 'divNoHybridModel';
            var txtText = '<%=txtHybridModel.ClientID%>';
            var valHYM = '<%=rfvHybridModel.ClientID%>';
            ShowValidationEffectOption(ctrlDivYes, ctrlDivNo, txtText, valHYM);
            return true;
        }

        function CheckSuspension() {
            var ctrlSuspension = document.getElementById('<%=txtSuspension.ClientID%>');
            var ctrlY = document.getElementById('<%=rdoSuspensionYes.ClientID%>');
            var ctrlN = document.getElementById('<%=rdoSuspensionNo.ClientID%>');
            var valSus = document.getElementById('<%=rfvSuspension.ClientID%>');
            if (ctrlY.checked == true || ctrlN.checked == true) {
                ctrlSuspension.value = '1';
                valSus.style.visibility = 'hidden';
            }
            else {
                ctrlSuspension.value = '';
            }
        }

        function CheckSuspensionValidationCss() {
            var ctrlDivYes = 'divYesSuspension';
            var ctrlDivNo = 'divNoSuspension';
            var txtText = '<%=txtSuspension.ClientID%>';
            var valSus = '<%=rfvSuspension.ClientID%>';
            ShowValidationEffectOption(ctrlDivYes, ctrlDivNo, txtText, valSus);
            return true;
        }

        function CheckCancelled() {
            var ctrlCancelled = document.getElementById('<%=txtPolicyCancelled.ClientID%>');
            var ctrlY = document.getElementById('<%=rdoCancelledYes.ClientID%>');
            var ctrlN = document.getElementById('<%=rdoCancelledNo.ClientID%>');
            var valCan = document.getElementById('<%=rfvPolicyCancelled.ClientID%>');
            if (ctrlY.checked == true || ctrlN.checked == true) {
                ctrlCancelled.value = '1';
                valCan.style.visibility = 'hidden';
            }
            else {
                ctrlCancelled.value = '';
            }
        }

        function CheckCancelledValidationCss() {
            var ctrlDivYes = 'divYesCancelled';
            var ctrlDivNo = 'divNoCancelled';
            var txtText = '<%=txtPolicyCancelled.ClientID%>';
            var valCan = '<%=rfvPolicyCancelled.ClientID%>';
            ShowValidationEffectOption(ctrlDivYes, ctrlDivNo, txtText, valCan);
            return true;
        }

        //Last3
        function CheckLast3Claim1(source, arguments) {
            var txtClaimLast3NAF1 = document.getElementById('<%=txtClaimLast3NAF1.ClientID%>');
            var txtClaimLast3AF1 = document.getElementById('<%=txtClaimLast3AF1.ClientID%>');
            var txtClaimLast3Windscreen1 = document.getElementById('<%=txtClaimLast3Windscreen1.ClientID%>');

            if (txtClaimLast3NAF1.value == "0" && txtClaimLast3AF1.value == "0" && txtClaimLast3Windscreen1.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast3Claim1ValidationCss() {
            var txtClaimLast3NAF1 = document.getElementById('<%=txtClaimLast3NAF1.ClientID%>');
            var txtClaimLast3AF1 = document.getElementById('<%=txtClaimLast3AF1.ClientID%>');
            var txtClaimLast3Windscreen1 = document.getElementById('<%=txtClaimLast3Windscreen1.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast3NAF1);
            CheckAndUpdateZeroValue(txtClaimLast3AF1);
            CheckAndUpdateZeroValue(txtClaimLast3Windscreen1);

            var cvClaimLast3NAF1 = document.getElementById('<%=cvClaimLast3NAF1.ClientID%>');
            var cvClaimLast3AF1 = document.getElementById('<%=cvClaimLast3AF1.ClientID%>');
            var cvClaimLast3Windscreen1 = document.getElementById('<%=cvClaimLast3Windscreen1.ClientID%>');

            if (txtClaimLast3NAF1.value == "0" && txtClaimLast3AF1.value == "0" && txtClaimLast3Windscreen1.value == "0") {

                ValidatorEnable(cvClaimLast3NAF1, true);
                cvClaimLast3NAF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3AF1, true);
                cvClaimLast3AF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3Windscreen1, true);
                cvClaimLast3Windscreen1.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast3NAF1, false);
                cvClaimLast3NAF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3AF1, false);
                cvClaimLast3AF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3Windscreen1, false);
                cvClaimLast3Windscreen1.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast3Claim2(source, arguments) {
            var txtClaimLast3NAF2 = document.getElementById('<%=txtClaimLast3NAF2.ClientID%>');
            var txtClaimLast3AF2 = document.getElementById('<%=txtClaimLast3AF2.ClientID%>');
            var txtClaimLast3Windscreen2 = document.getElementById('<%=txtClaimLast3Windscreen2.ClientID%>');

            if (txtClaimLast3NAF2.value == "0" && txtClaimLast3AF2.value == "0" && txtClaimLast3Windscreen2.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast3Claim2ValidationCss() {
            var txtClaimLast3NAF2 = document.getElementById('<%=txtClaimLast3NAF2.ClientID%>');
            var txtClaimLast3AF2 = document.getElementById('<%=txtClaimLast3AF2.ClientID%>');
            var txtClaimLast3Windscreen2 = document.getElementById('<%=txtClaimLast3Windscreen2.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast3NAF2);
            CheckAndUpdateZeroValue(txtClaimLast3AF2);
            CheckAndUpdateZeroValue(txtClaimLast3Windscreen2);

            var cvClaimLast3NAF2 = document.getElementById('<%=cvClaimLast3NAF2.ClientID%>');
            var cvClaimLast3AF2 = document.getElementById('<%=cvClaimLast3AF2.ClientID%>');
            var cvClaimLast3Windscreen2 = document.getElementById('<%=cvClaimLast3Windscreen2.ClientID%>');

            if (txtClaimLast3NAF2.value == "0" && txtClaimLast3AF2.value == "0" && txtClaimLast3Windscreen2.value == "0") {

                ValidatorEnable(cvClaimLast3NAF2, true);
                cvClaimLast3NAF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3AF2, true);
                cvClaimLast3AF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3Windscreen2, true);
                cvClaimLast3Windscreen2.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast3NAF2, false);
                cvClaimLast3NAF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3AF2, false);
                cvClaimLast3AF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3Windscreen2, false);
                cvClaimLast3Windscreen2.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast3Claim3(source, arguments) {
            var txtClaimLast3NAF3 = document.getElementById('<%=txtClaimLast3NAF3.ClientID%>');
            var txtClaimLast3AF3 = document.getElementById('<%=txtClaimLast3AF3.ClientID%>');
            var txtClaimLast3Windscreen3 = document.getElementById('<%=txtClaimLast3Windscreen3.ClientID%>');

            if (txtClaimLast3NAF3.value == "0" && txtClaimLast3AF3.value == "0" && txtClaimLast3Windscreen3.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast3Claim3ValidationCss() {
            var txtClaimLast3NAF3 = document.getElementById('<%=txtClaimLast3NAF3.ClientID%>');
            var txtClaimLast3AF3 = document.getElementById('<%=txtClaimLast3AF3.ClientID%>');
            var txtClaimLast3Windscreen3 = document.getElementById('<%=txtClaimLast3Windscreen3.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast3NAF3);
            CheckAndUpdateZeroValue(txtClaimLast3AF3);
            CheckAndUpdateZeroValue(txtClaimLast3Windscreen3);

            var cvClaimLast3NAF3 = document.getElementById('<%=cvClaimLast3NAF3.ClientID%>');
            var cvClaimLast3AF3 = document.getElementById('<%=cvClaimLast3AF3.ClientID%>');
            var cvClaimLast3Windscreen3 = document.getElementById('<%=cvClaimLast3Windscreen3.ClientID%>');

            if (txtClaimLast3NAF3.value == "0" && txtClaimLast3AF3.value == "0" && txtClaimLast3Windscreen3.value == "0") {

                ValidatorEnable(cvClaimLast3NAF3, true);
                cvClaimLast3NAF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3AF3, true);
                cvClaimLast3AF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast3Windscreen3, true);
                cvClaimLast3Windscreen3.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast3NAF3, false);
                cvClaimLast3NAF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3AF3, false);
                cvClaimLast3AF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast3Windscreen3, false);
                cvClaimLast3Windscreen3.style.visibility = 'hidden';

            }

            return true;
        }
        //End of Last3

        //Last2
        function CheckLast2Claim1(source, arguments) {
            var txtClaimLast2NAF1 = document.getElementById('<%=txtClaimLast2NAF1.ClientID%>');
            var txtClaimLast2AF1 = document.getElementById('<%=txtClaimLast2AF1.ClientID%>');
            var txtClaimLast2Windscreen1 = document.getElementById('<%=txtClaimLast2Windscreen1.ClientID%>');

            if (txtClaimLast2NAF1.value == "0" && txtClaimLast2AF1.value == "0" && txtClaimLast2Windscreen1.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast2Claim1ValidationCss() {
            var txtClaimLast2NAF1 = document.getElementById('<%=txtClaimLast2NAF1.ClientID%>');
            var txtClaimLast2AF1 = document.getElementById('<%=txtClaimLast2AF1.ClientID%>');
            var txtClaimLast2Windscreen1 = document.getElementById('<%=txtClaimLast2Windscreen1.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast2NAF1);
            CheckAndUpdateZeroValue(txtClaimLast2AF1);
            CheckAndUpdateZeroValue(txtClaimLast2Windscreen1);

            var cvClaimLast2NAF1 = document.getElementById('<%=cvClaimLast2NAF1.ClientID%>');
            var cvClaimLast2AF1 = document.getElementById('<%=cvClaimLast2AF1.ClientID%>');
            var cvClaimLast2Windscreen1 = document.getElementById('<%=cvClaimLast2Windscreen1.ClientID%>');

            if (txtClaimLast2NAF1.value == "0" && txtClaimLast2AF1.value == "0" && txtClaimLast2Windscreen1.value == "0") {

                ValidatorEnable(cvClaimLast2NAF1, true);
                cvClaimLast2NAF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2AF1, true);
                cvClaimLast2AF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2Windscreen1, true);
                cvClaimLast2Windscreen1.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast2NAF1, false);
                cvClaimLast2NAF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2AF1, false);
                cvClaimLast2AF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2Windscreen1, false);
                cvClaimLast2Windscreen1.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast2Claim2(source, arguments) {
            var txtClaimLast2NAF2 = document.getElementById('<%=txtClaimLast2NAF2.ClientID%>');
            var txtClaimLast2AF2 = document.getElementById('<%=txtClaimLast2AF2.ClientID%>');
            var txtClaimLast2Windscreen2 = document.getElementById('<%=txtClaimLast2Windscreen2.ClientID%>');

            if (txtClaimLast2NAF2.value == "0" && txtClaimLast2AF2.value == "0" && txtClaimLast2Windscreen2.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast2Claim2ValidationCss() {
            var txtClaimLast2NAF2 = document.getElementById('<%=txtClaimLast2NAF2.ClientID%>');
            var txtClaimLast2AF2 = document.getElementById('<%=txtClaimLast2AF2.ClientID%>');
            var txtClaimLast2Windscreen2 = document.getElementById('<%=txtClaimLast2Windscreen2.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast2NAF2);
            CheckAndUpdateZeroValue(txtClaimLast2AF2);
            CheckAndUpdateZeroValue(txtClaimLast2Windscreen2);

            var cvClaimLast2NAF2 = document.getElementById('<%=cvClaimLast2NAF2.ClientID%>');
            var cvClaimLast2AF2 = document.getElementById('<%=cvClaimLast2AF2.ClientID%>');
            var cvClaimLast2Windscreen2 = document.getElementById('<%=cvClaimLast2Windscreen2.ClientID%>');

            if (txtClaimLast2NAF2.value == "0" && txtClaimLast2AF2.value == "0" && txtClaimLast2Windscreen2.value == "0") {

                ValidatorEnable(cvClaimLast2NAF2, true);
                cvClaimLast2NAF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2AF2, true);
                cvClaimLast2AF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2Windscreen2, true);
                cvClaimLast2Windscreen2.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast2NAF2, false);
                cvClaimLast2NAF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2AF2, false);
                cvClaimLast2AF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2Windscreen2, false);
                cvClaimLast2Windscreen2.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast2Claim3(source, arguments) {
            var txtClaimLast2NAF3 = document.getElementById('<%=txtClaimLast2NAF3.ClientID%>');
            var txtClaimLast2AF3 = document.getElementById('<%=txtClaimLast2AF3.ClientID%>');
            var txtClaimLast2Windscreen3 = document.getElementById('<%=txtClaimLast2Windscreen3.ClientID%>');

            if (txtClaimLast2NAF3.value == "0" && txtClaimLast2AF3.value == "0" && txtClaimLast2Windscreen3.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast2Claim3ValidationCss() {
            var txtClaimLast2NAF3 = document.getElementById('<%=txtClaimLast2NAF3.ClientID%>');
            var txtClaimLast2AF3 = document.getElementById('<%=txtClaimLast2AF3.ClientID%>');
            var txtClaimLast2Windscreen3 = document.getElementById('<%=txtClaimLast2Windscreen3.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast2NAF3);
            CheckAndUpdateZeroValue(txtClaimLast2AF3);
            CheckAndUpdateZeroValue(txtClaimLast2Windscreen3);

            var cvClaimLast2NAF3 = document.getElementById('<%=cvClaimLast2NAF3.ClientID%>');
            var cvClaimLast2AF3 = document.getElementById('<%=cvClaimLast2AF3.ClientID%>');
            var cvClaimLast2Windscreen3 = document.getElementById('<%=cvClaimLast2Windscreen3.ClientID%>');

            if (txtClaimLast2NAF3.value == "0" && txtClaimLast2AF3.value == "0" && txtClaimLast2Windscreen3.value == "0") {

                ValidatorEnable(cvClaimLast2NAF3, true);
                cvClaimLast2NAF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2AF3, true);
                cvClaimLast2AF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast2Windscreen3, true);
                cvClaimLast2Windscreen3.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast2NAF3, false);
                cvClaimLast2NAF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2AF3, false);
                cvClaimLast2AF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast2Windscreen3, false);
                cvClaimLast2Windscreen3.style.visibility = 'hidden';

            }

            return true;
        }
        //End of Last2

        //Last 1
        function CheckLast1Claim1(source, arguments) {
            var txtClaimLast1NAF1 = document.getElementById('<%=txtClaimLast1NAF1.ClientID%>');
            var txtClaimLast1AF1 = document.getElementById('<%=txtClaimLast1AF1.ClientID%>');
            var txtClaimLast1Windscreen1 = document.getElementById('<%=txtClaimLast1Windscreen1.ClientID%>');

            if (txtClaimLast1NAF1.value == "0" && txtClaimLast1AF1.value == "0" && txtClaimLast1Windscreen1.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast1Claim1ValidationCss() {
            var txtClaimLast1NAF1 = document.getElementById('<%=txtClaimLast1NAF1.ClientID%>');
            var txtClaimLast1AF1 = document.getElementById('<%=txtClaimLast1AF1.ClientID%>');
            var txtClaimLast1Windscreen1 = document.getElementById('<%=txtClaimLast1Windscreen1.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast1NAF1);
            CheckAndUpdateZeroValue(txtClaimLast1AF1);
            CheckAndUpdateZeroValue(txtClaimLast1Windscreen1);

            var cvClaimLast1NAF1 = document.getElementById('<%=cvClaimLast1NAF1.ClientID%>');
            var cvClaimLast1AF1 = document.getElementById('<%=cvClaimLast1AF1.ClientID%>');
            var cvClaimLast1Windscreen1 = document.getElementById('<%=cvClaimLast1Windscreen1.ClientID%>');

            if (txtClaimLast1NAF1.value == "0" && txtClaimLast1AF1.value == "0" && txtClaimLast1Windscreen1.value == "0") {

                ValidatorEnable(cvClaimLast1NAF1, true);
                cvClaimLast1NAF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1AF1, true);
                cvClaimLast1AF1.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1Windscreen1, true);
                cvClaimLast1Windscreen1.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast1NAF1, false);
                cvClaimLast1NAF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1AF1, false);
                cvClaimLast1AF1.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1Windscreen1, false);
                cvClaimLast1Windscreen1.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast1Claim2(source, arguments) {
            var txtClaimLast1NAF2 = document.getElementById('<%=txtClaimLast1NAF2.ClientID%>');
            var txtClaimLast1AF2 = document.getElementById('<%=txtClaimLast1AF2.ClientID%>');
            var txtClaimLast1Windscreen2 = document.getElementById('<%=txtClaimLast1Windscreen2.ClientID%>');

            if (txtClaimLast1NAF2.value == "0" && txtClaimLast1AF2.value == "0" && txtClaimLast1Windscreen2.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast1Claim2ValidationCss() {
            var txtClaimLast1NAF2 = document.getElementById('<%=txtClaimLast1NAF2.ClientID%>');
            var txtClaimLast1AF2 = document.getElementById('<%=txtClaimLast1AF2.ClientID%>');
            var txtClaimLast1Windscreen2 = document.getElementById('<%=txtClaimLast1Windscreen2.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast1NAF2);
            CheckAndUpdateZeroValue(txtClaimLast1AF2);
            CheckAndUpdateZeroValue(txtClaimLast1Windscreen2);

            var cvClaimLast1NAF2 = document.getElementById('<%=cvClaimLast1NAF2.ClientID%>');
            var cvClaimLast1AF2 = document.getElementById('<%=cvClaimLast1AF2.ClientID%>');
            var cvClaimLast1Windscreen2 = document.getElementById('<%=cvClaimLast1Windscreen2.ClientID%>');

            if (txtClaimLast1NAF2.value == "0" && txtClaimLast1AF2.value == "0" && txtClaimLast1Windscreen2.value == "0") {

                ValidatorEnable(cvClaimLast1NAF2, true);
                cvClaimLast1NAF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1AF2, true);
                cvClaimLast1AF2.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1Windscreen2, true);
                cvClaimLast1Windscreen2.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast1NAF2, false);
                cvClaimLast1NAF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1AF2, false);
                cvClaimLast1AF2.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1Windscreen2, false);
                cvClaimLast1Windscreen2.style.visibility = 'hidden';

            }

            return true;
        }


        function CheckLast1Claim3(source, arguments) {
            var txtClaimLast1NAF3 = document.getElementById('<%=txtClaimLast1NAF3.ClientID%>');
            var txtClaimLast1AF3 = document.getElementById('<%=txtClaimLast1AF3.ClientID%>');
            var txtClaimLast1Windscreen3 = document.getElementById('<%=txtClaimLast1Windscreen3.ClientID%>');

            if (txtClaimLast1NAF3.value == "0" && txtClaimLast1AF3.value == "0" && txtClaimLast1Windscreen3.value == "0") {

                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }

        function CheckLast1Claim3ValidationCss() {
            var txtClaimLast1NAF3 = document.getElementById('<%=txtClaimLast1NAF3.ClientID%>');
            var txtClaimLast1AF3 = document.getElementById('<%=txtClaimLast1AF3.ClientID%>');
            var txtClaimLast1Windscreen3 = document.getElementById('<%=txtClaimLast1Windscreen3.ClientID%>');

            CheckAndUpdateZeroValue(txtClaimLast1NAF3);
            CheckAndUpdateZeroValue(txtClaimLast1AF3);
            CheckAndUpdateZeroValue(txtClaimLast1Windscreen3);

            var cvClaimLast1NAF3 = document.getElementById('<%=cvClaimLast1NAF3.ClientID%>');
            var cvClaimLast1AF3 = document.getElementById('<%=cvClaimLast1AF3.ClientID%>');
            var cvClaimLast1Windscreen3 = document.getElementById('<%=cvClaimLast1Windscreen3.ClientID%>');

            if (txtClaimLast1NAF3.value == "0" && txtClaimLast1AF3.value == "0" && txtClaimLast1Windscreen3.value == "0") {

                ValidatorEnable(cvClaimLast1NAF3, true);
                cvClaimLast1NAF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1AF3, true);
                cvClaimLast1AF3.style.visibility = 'visible';

                ValidatorEnable(cvClaimLast1Windscreen3, true);
                cvClaimLast1Windscreen3.style.visibility = 'visible';

            }
            else {

                ValidatorEnable(cvClaimLast1NAF3, false);
                cvClaimLast1NAF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1AF3, false);
                cvClaimLast1AF3.style.visibility = 'hidden';

                ValidatorEnable(cvClaimLast1Windscreen3, false);
                cvClaimLast1Windscreen3.style.visibility = 'hidden';

            }

            return true;
        }
        //End of Last1


        function CheckAndUpdateZeroValue(txtText) {
            //alert(txtText.value);
            try {
                txtText.value = txtText.value.split(' ').join('');

                //alert(txtText.value);
                if (txtText.value.length == 0) {
                    txtText.value = '0';
                    //alert(txtText.value);
                }

                txtText.value = parseFloat(txtText.value.toString());
            }
            catch (ex) {
                txtText.value = '0';
            }
            //alert(txtText.value);
        }

        function CheckRenewalQuoteValidationCss() {
            var txtRenewalQuoteReceived = document.getElementById('<%=txtRenewalQuoteReceived.ClientID%>');

            CheckAndUpdateZeroValue(txtRenewalQuoteReceived);

            var cvRenewalQuote = document.getElementById('<%=cvRenewalQuote.ClientID%>');

            iRenewalQuote = 0;

            if (txtRenewalQuoteReceived.value != "0") {
                iRenewalQuote = txtRenewalQuoteReceived.value;
                if (iRenewalQuote < 100 || iRenewalQuote > 30000) {
                    ValidatorEnable(cvRenewalQuote, true);
                    cvRenewalQuote.style.visibility = 'visible';

                }
                else {
                    ValidatorEnable(cvRenewalQuote, false);
                    cvRenewalQuote.style.visibility = 'hidden';

                }

            }
            else {
                ValidatorEnable(cvRenewalQuote, true);
                cvRenewalQuote.style.visibility = 'visible';

            }

            return true;
        }

        function CheckRenewalQuote(source, arguments) {
            var txtRenewalQuoteReceived = document.getElementById('<%=txtRenewalQuoteReceived.ClientID%>');

            iRenewalQuote = 0;

            if (txtRenewalQuoteReceived.value != "0") {
                iRenewalQuote = txtRenewalQuoteReceived.value;
                if (iRenewalQuote < 100 || iRenewalQuote > 30000) {
                    arguments.IsValid = false;
                }
                else {
                    arguments.IsValid = true;
                }

            }
            else {
                arguments.IsValid = false;
            }

        }

        function CheckOptionValidationCss() {
            CheckParallelImportValidationCss();
            CheckCNGVehicleValidationCss();
            CheckHybridModelValidationCss();
            CheckSuspensionValidationCss();
            CheckCancelledValidationCss();

            if (document.getElementById('<%=tblLast3Claim1.ClientID%>') != null) {
                CheckLast3Claim1ValidationCss();
            }

            if (document.getElementById('<%=tblLast3Claim2.ClientID%>') != null) {
                CheckLast3Claim2ValidationCss();
            }

            if (document.getElementById('<%=tblLast3Claim3.ClientID%>') != null) {
                CheckLast3Claim3ValidationCss();
            }

            if (document.getElementById('<%=tblLast2Claim1.ClientID%>') != null) {
                CheckLast2Claim1ValidationCss();
            }

            if (document.getElementById('<%=tblLast2Claim2.ClientID%>') != null) {
                CheckLast2Claim2ValidationCss();
            }

            if (document.getElementById('<%=tblLast2Claim3.ClientID%>') != null) {
                CheckLast2Claim3ValidationCss();
            }

            if (document.getElementById('<%=tblLast1Claim1.ClientID%>') != null) {
                CheckLast1Claim1ValidationCss();
            }

            if (document.getElementById('<%=tblLast1Claim2.ClientID%>') != null) {
                CheckLast1Claim2ValidationCss();
            }

            if (document.getElementById('<%=tblLast1Claim3.ClientID%>') != null) {
                CheckLast1Claim3ValidationCss();
            }

        }

        function restrictToNumbers(e) {
            //alert(e.which);

            if ([e.keyCode || e.which] == 46 || [e.keyCode || e.which] == 8 || [e.keyCode || e.which] == 37 || [e.keyCode || e.which] == 9 || [e.keyCode || e.which] == 39) //this is to allow backspace

                return true;

            if ([e.keyCode || e.which] < 48 || [e.keyCode || e.which] > 57)

                e.preventDefault ? e.preventDefault() : e.returnValue = false;

        }

        function CheckComprehensive() {

            if (document.getElementById('<%=ddlNoMatchCoverType.ClientID%>').value == '1') {
                document.getElementById('divCompre').style.display = '';

                var rfvComprehensive = document.getElementById('<%=rfvComprehensive.ClientID%>')
                ValidatorEnable(rfvComprehensive, true);
                rfvComprehensive.style.visibility = 'visible';
            }
            else {
                document.getElementById('divCompre').style.display = 'none';

                var rfvComprehensive = document.getElementById('<%=rfvComprehensive.ClientID%>')
                ValidatorEnable(rfvComprehensive, false);
                rfvComprehensive.style.visibility = 'hidden';
            }
        }

        function ShowPopup(_companyId, _carResultId, _isForward) {

            if (_isForward == true) {
                document.getElementById('trForwardThis').style.display = '';
                document.getElementById('trEmailMe').style.display = 'none';
            }
            else {
                document.getElementById('trForwardThis').style.display = 'none';
                document.getElementById('trEmailMe').style.display = '';
            }

            document.getElementById('<%=inputProviderId.ClientID%>').value = _companyId;
            document.getElementById('<%=inputCarResultId.ClientID%>').value = _carResultId;


            imgurl = '';
            //document.getElementById('<=imgProvider.ClientID>').src = '/images/public/logo/hsbc.png';

            if (_companyId == '23') {
                imgurl = '/images/public/logo/hsbc.png';
            }
            else if (_companyId == '29') {
                imgurl = '/images/public/logo/liberty.png';
            }
            else {
                imgurl = '/images/public/logo/etiqa.png';
            }

            //document.getElementById('<=imgProvider.ClientID>').src = imgurl;

            var modpop = $find("mdlPopup");
            if (!modpop) { return; }
            modpop.show();
        }


        function HidePanel() {
            //document.getElementById('<=pnlPopup.ClientID>').style.display = 'none';
        }

        function SubmitBuyNow() {
            //Just change validation group, always return TRUE
            var _retVal = true;
            if (Page_ClientValidate('buynow')) {
                _retVal = true;

            }
            else {
                _retVal = true;
            }
            return _retVal;
        }

        CheckComprehensive();

        function ShowVehicle() {
            ShowHideDiv('divOfflineVehicle', true);
        }
    </script>

    <script src="../includes/carinsurance/results.js" type="text/javascript"></script>

</asp:Content>
